validate xml against xsd
I am looking for a simple command-line utility that allows me to validate a given xml file against a given xsd file. For example: $ validate test.xml test.xsd Error on line 41: element missing For this project, I don't need a programming library that gives me a DOM or SAX view of the file. I just need pure command-line driven validation. Does such a utility exist, either as a Debian package or out there as source code? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
makefile problem
Can anyone help me out with the a makefile problem? I have a large number of subdirectories filled with simple sample programs. I want to do the following for each subdirectory { cd subdirectory if Makefile exists { make } else { for each .c file { $(CC) X.c -o X } } Is there any way I can do this just with makefiles (i.e. no batch scripts)? It's not hard for me to make the rule .c.exe: $(CC) $< -o $@ but how to I tell make it should invoke this rule on all the *.c files present? I can't list them as targets because I don't know their names. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
no taskbar in gnome2
I just upgraded to gnome2 in sid, and ran into a problem: there is no gnome taskbar (the thing with applets and a footprint menu). Most annoying this about this is that it's now impossible for a user to log out! (I have to become root and restart gdm.) Surely this can't be the way it was meant to be... At first I tried converting and got this behaviour. Then I deleted .gnome2 and logged in again, hoping it would then give me a rational default. Still no taskbar. How do I get a taskbar and how do I get to some preferences page that will let me set stuff up? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
xfstt superfluous?
In an attempt to fix ugly fonts in gtk1.2 apps, I just added /usr/lib/X11/fonts/TrueType to the xfs configuration file /etc/X11/fs/config, and it worked! Does this mean that xfs can serve both PS and TT, making xfstt completely unnecessary? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Unknown processes.
Quoting Christian Dysthe ([EMAIL PROTECTED]): > Hi, > > after having been logged on my box for a while I have a lot of these processes > running. I do not know where they come from (I am still a newbie), and I have > the feeling they slow me down. What are these: > > 275 ttyp0S 0:00 bash -rcfile .bashrc > 7343 ttyp3S 0:00 bash -rcfile .bashrc I just started mc in a few of my xterms, and here's the result: 32195 p0 S0:00 mc 32197 pe S0:00 bash -rcfile .bashrc 32200 p9 S0:00 mc 32202 pf S0:00 bash -rcfile .bashrc 32203 p8 S0:00 mc 32205 q0 S0:00 bash -rcfile .bashrc 32206 pa S0:00 mc 32208 q1 S0:00 bash -rcfile .bashrc 32209 pb S0:00 mc 32211 q2 S0:00 bash -rcfile .bashrc 32212 pd S0:00 mc 32214 q3 S0:00 bash -rcfile .bashrc 32215 p4 R0:00 ps ax 32216 p4 S0:00 less My .xsession starts up 14 xterms, and I run mc locally in a few of them, and remote mc with ssh in several more. So I wouldn't worry. Having them ready and waiting is far quicker for me than having to start them when I already need them. (There are 90 processes running and I'm really in my lunch break.) 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: SV: SV: A little further: Short newbie question
Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): > I don't have an isp for the computer (silly, I know), and I have already > installed the base system, which seems to be in fine working order. What I > did was to swap the hd into a WinNT box (on my LAN w/ 100Mbit connection at > work) and download the lot to that, but I somehow managed to loose the > directories along the way. I'll try doing another download and remember to > reformat the dos-partition to vfat to allow long names. > Thanks again for all the help; I'm slowly beginning to understand... > Regards > Vitux OK it's nice to have dselect (some would say) install your packages, but if you've got all the .deb files on a hard disk, dpkg will install them from there whatever their filenames and whatever their directories. The only difficulty is knowing what to install and when, but dpkg will check dependencies and make sure it doesn't break anything. So for example, if everything is in one directory, the brutal approach is to type dpkg -i *deb and let it get on with it. Some debs will unpack but won't configure because other packages aren't yet configured, so then type dpkg --configure --pending and that will configure those. There's no harm in repeating those two commands; there'll just be a lot of repetition of unpacking etc. but obviously more dependencies will be satisfied. If you don't want to be quite that brutal, I could send you a list of dselect's first default choice of package's: the one it uses if you skip the "package selection" step. Then you just type dpkg -i foo.deb bar.deb etc. etc. or you can push the list through dpkg --set-selections 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: ide-scsi module
Quoting Alisdair McDiarmid ([EMAIL PROTECTED]): > Every time I reboot Linux complains that it can't mount my IDE > CD-RW (HP8100i, running as /dev/scd0). The first time this > happened I followed its advice and typed `insmod ide-scsi'. For > that session, the CD-RW worked fine. But on rebooting the module > appears to have been removed from the kernel. Why? Because inserting a module inserts it into the running kernel (in RAM), not into its image on disk. When you reboot, you get a clean copy of the kernel from the image on disk. The effect you want can be achieved by putting ide-scsi into /etc/modules on its own line. This will insmod it during boot up. 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: Connecting to the Net
Quoting Brad ([EMAIL PROTECTED]): > On Wed, 9 Jun 1999, Kent West wrote: > > > /dev/modem is a "generic" term for where your modem actually is. You > > can solve this in one of two ways: 1) make a symlink named /dev/modem > > that points to your actual modem (not recommended, because the system > > then can't place a lock on the modem to prevent two people/processes > > from trying to use it at the same time) > > According to Documentation/devices.txt in the kernel source, an > application is supposed to follow the symlink and lock the actual device > (as well as the symlink). In this way, it doesn't cause the problem you > predict. If you find a package that doesn't do this, file a bug report > since it's quite a serious bug. > > For the actual quote, either load the mentioned file and search for > "symlink" or email me privately and i'll send it to you. While this may now be true, and packages in potato obviously need to be made conforming, it's worth bearing in mind that slink/stable is still at 2.0.36, and both this and 2.2.x kernel documentation include: --8< The following links may be established locally to conform to the configuration of the system. This is merely a tabulation of existing practice, and does not constitute a recommendation. However, if they exist, they should have the following uses. [mouse, tape, cdrom, cdwriter and scanner links deleted] /dev/modem modem port symbolicCurrent dialout device [root and swap links deleted] /dev/modem should not be used for a modem which supports dialin as well as dialout, as it tends to cause lock file problems. If it exists, /dev/modem should point to the appropriate dialout (alternate) device. --8< So the best advice for debian-user is probably /not/ to make a /dev/modem link. 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: Auto Shut-off
Quoting ktb ([EMAIL PROTECTED]): > As root use the command, > shutdown -h now > > See "man shutdown" for more details. When I use this command I still > have to press the "off/on" button so this might not be exactly the > answer to your question. > hth, > kent There's a kernel option: Power off on shutdown CONFIG_APM_POWER_OFF This option will power off the computer after the Linux kernel is halted (e.g., with the halt(8) command). As with the other APM options, this option may not work reliably with some APM BIOS implementations. 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: Sound-HOWTO docs wrong; what next?
Quoting Kent West ([EMAIL PROTECTED]): > > > instead of that, got to /dev and execute ./MAKEDEV audio as root. (or > > use fakeroot) > > Okay! Now I have a /dev/sndstat. (Would that really have been too hard > to put in the HOWTO? Or maybe it depends on the distribution you're > running?) It's safe to assume that most HOWTO authors are more likely slackware etc. than Debian. And they're often a bit dated. I decided to do sound properly with the 2.2.x kernels and I think the kernel-source is the best place to read; not just Documentation/sound but odd comments in drivers/sound too. > "cat /dev/sndstat" lists several categories, such as "Card config:. > "Audio devices:", etc, but there's nothing under each category. My guess > is that my card is not properly configured or there would be info in > each spot. Well this "sound card" (actually it's an Intel Tucson mobo) plays CDs, .au files and records from the microphone, yet sndstat is not fully populated: --8< OSS/Free:3.8s2++-971130 Load type: Driver loaded as a module Kernel: Linux yak 2.2.9 #1 Sat Jun 12 14:32:48 BST 1999 i586 Config options: 0 Installed drivers: Card config: Audio devices: 0: MSS audio codec (CS4231) (DUPLEX) Synth devices: Midi devices: 0: OPL3-SA (MPU401) Timers: 0: System clock 1: MSS audio codec (CS4231) Mixers: 0: MSS audio codec (CS4231) --8< > > > I've clued in enough to the various posts that I know there's such > > > commands as lsmod, insmod, rmmod, and modprobe, and I've tinkered around > > > with them, but haven't had much luck. The lsmod shows: vmnet, vmmon, > > > binfmt-aout, vfat, and fat. I've tried to "insmod sb" (guessing that > > > "sb" means "SoundBlaster") and "insmod sound", but there's "no module > > > found by that name". If you haven't yet sorted out the support files (like /etc/modutils/...) you can give insmod a full path and filename, and any options required. In fact, as I'm on the cusp of 2.0.36 and 2.2.9, I'm handling the problem of module loading (e.g. only ppa for 2.0, ppa and lp for 2.2) with brute force, so everything in /etc/modules has a full filename, and inappropriate versions just fail to load. Thus the example above has /lib/modules/2.2.9/misc/soundcore.o /lib/modules/2.2.9/misc/sound.o /lib/modules/2.2.9/misc/ad1848.o /lib/modules/2.2.9/misc/uart401.o /lib/modules/2.2.9/misc/opl3sa.o io=0x530 irq=10 dma=0 dma2=1 mpu_io=0x330 mpu_irq=7 Identifying the chips was a process of matching the variables mentioned in the documentation with the BIOS settings in the CMOS screens. > No. I don't have the documentation in front of me (it's an office > machine and I'm at home now); it's something like "ESS-blahblah", but I > "think" it's supposed to be SB-compatible. It's standard fare in a > Gateway2000 E3000 Pentium-class box. I'm not sure I chose the correct > settings during the "make menuconfig" portion of all this, but I figured > I'd make my best guesses and learn from the experience. If you compile a bunch of guesses as modules, erring on the side of compiling too much, then you can just play about with insmod/rmmod (remember the latter only needs the basename, like soundcore) and put the settings there. That's one of the big advantages of modules, you don't have to commit yourself. tail -f /var/log/kern.log or watch xconsole as you load things. Some are silent, but you might see odd useful messages. 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: PS/2 mouse rolling away
Quoting Colin Marquardt ([EMAIL PROTECTED]): > * Armin Wegner <[EMAIL PROTECTED]> writes: > > > my logitech ps/2 mouse behaves oddly. Sometimes, the pointer > > rolls to the top or bottom of the screen when pressing a button > > while moving left or right in X and on console. I can stop this > > by moving the mouse. But I can't > > Are you sure this isn“t a mechanical problem? Is the movement that > steady? I have seen something like that with an old mouse of mine... > Maybe this "when pressing a button" is pure coincidence? I get this with a MS serial mouse sometimes. I'm not even touching the mouse and the cursor starts to "fall" slowly and jerkily down the screen. I guess even mice get fleas ;-) 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: Switch console in xterm
Quoting ktb ([EMAIL PROTECTED]): > Brian Servis wrote: > > > > *- On 16 Jun, Gareth wrote about "Re: Switch console in xterm" > > > On Tue, 15 Jun 1999, ktb wrote: > > >> Somewhere I heard there exists a program that will allow you to switch > > >> "consoles" in an xterm. In other words it would be like switching > > >> consoles with ctrl+alt+F* but from within a single xterm window. I > > >> poked around in the packages at the Debian site but can't find > > >> anything. I don't even know what to call it. Makes it a little hard to > > >> search for:) Let me know if you've heard of such a thing. > > > > > > You might be looking for a thing called screen it makes multiple > > > consoles(windows) in any terminal (not just xterm) you can get it form any > > > of the GNU mirrors eg... > > > http://mirror.aarnet.edu.au/gnu/screen/ > > > > > > > Use the Debian package if this is what you want, screen is in its own > > Debian package in the misc section. > > > > Are you talking about switching between "desktops" under X? Most > > modern window managers under X support some form of multiple desktops > > and virtual desktops. > > No not switching desktops in X. Switching the screen within a single > xterm. I'll check out 'screen.' Well there's also the concept of an Alternate Screen in xterm. That's why you don't see, for example, the last screenfull of output from less when you quit, but just your interactive commands. less uses the alternate screen, and you can switch back and forth with Ctrl and a mouse button (right for me, but I think that's non-standard). 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: EPSON LX-300 under Linux
Quoting Paulo Henrique Baptista de Oliveira ([EMAIL PROTECTED]): > Hi Debian users, > I have an Epson LX-300 under Linux and cant it to work. Already tried > Magicfilter and Apsfilter. I dont know the right driver... > Thanks for any help,Paulo Henrique This is just a 9pin epson, I think. You might try magicfilter/gs-aladdin with epson9 and if that works, try the eps9mid and eps9high variants. >From my hacked epson9-filter files, respectively: # PostScript 0 %! filter /usr/bin/gs -q -dSAFER -dNOPAUSE -r240x216 -sDEVICE=eps9mid -sOutputFile=\|"cat 1>&3" - 3>&1 1>&2 0 \004%! filter /usr/bin/gs -q -dSAFER -dNOPAUSE -r240x216 -sDEVICE=eps9mid -sOutputFile=\|"cat 1>&3" - 3>&1 1>&2 # PDF 0 %PDF fpipe /usr/bin/gs -q -dSAFER -dNOPAUSE -r240x216 -sDEVICE=eps9mid -sOutputFile=\|"cat 1>&3" $FILE 3>&1 1>&2 and # PostScript 0 %! filter /usr/bin/gs -q -dSAFER -dNOPAUSE -r240x216 -sDEVICE=eps9high -sOutputFile=\|"cat 1>&3" - 3>&1 1>&2 0 \004%! filter /usr/bin/gs -q -dSAFER -dNOPAUSE -r240x216 -sDEVICE=eps9high -sOutputFile=\|"cat 1>&3" - 3>&1 1>&2 If you try to get much better quality than that, it gets far too slow (on an LX850). 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: custom kernel won't boot
Quoting Michael C. Yoon ([EMAIL PROTECTED]): > Well, I got it to boot by running LILO again. The reason I didn't in > the first place is because of this line in the installation > instructions: > > "Your new kernel-image-2.0.36 package is also clever enough to > automatically use lilo to update the kernel image information allowing > you to boot, so there's no need to re-run lilo." ^^^ > > That was not true in my case. Is this a bug in the documentation? Yes, I would say that the text marked should be deleted. There *is* a need to rerun lilo, and dpkg -i kernel-image... asks if it may do so. If you refuse, I think it warns you that the system may now be unbootable. (I can't remember, perhaps you also have to refuse to make a boot floppy?) 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: magicfilter for Epson FX-80
Quoting David B. Karlin ([EMAIL PROTECTED]): > Hello, > I have a Panasonic (dot-matrix) printer which emulates an Epson FX-80, > and is working fine as an FX-80 under Win95. > > I'd like to install it on the Linux machine instead, but I've been unable to > locate a magicfilter for Epson FX-80. > > Does anyone know if such a filter exists, or know of some location where > I can find it? Date: Wed, 16 Jun 1999 16:50:37 +0100 Quoting Paulo Henrique Baptista de Oliveira ([EMAIL PROTECTED]): > Hi Debian users, > I have an Epson LX-300 under Linux and cant it to work. Already tried > Magicfilter and Apsfilter. I dont know the right driver... > Thanks for any help,Paulo Henrique This is just a 9pin epson, I think. You might try magicfilter/gs-aladdin with epson9 and if that works, try the eps9mid and eps9high variants. >From my hacked epson9-filter files, respectively: # PostScript 0 %! filter /usr/bin/gs -q -dSAFER -dNOPAUSE -r240x216 -sDEVICE=eps9mid -sOutputFile=\|"cat 1>&3" - 3>&1 1>&2 0 \004%! filter /usr/bin/gs -q -dSAFER -dNOPAUSE -r240x216 -sDEVICE=eps9mid -sOutputFile=\|"cat 1>&3" - 3>&1 1>&2 # PDF 0 %PDF fpipe /usr/bin/gs -q -dSAFER -dNOPAUSE -r240x216 -sDEVICE=eps9mid -sOutputFile=\|"cat 1>&3" $FILE 3>&1 1>&2 and # PostScript 0 %! filter /usr/bin/gs -q -dSAFER -dNOPAUSE -r240x216 -sDEVICE=eps9high -sOutputFile=\|"cat 1>&3" - 3>&1 1>&2 0 \004%! filter /usr/bin/gs -q -dSAFER -dNOPAUSE -r240x216 -sDEVICE=eps9high -sOutputFile=\|"cat 1>&3" - 3>&1 1>&2 If you try to get much better quality than that, it gets far too slow (on an LX850). 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: Disabling the power button
Quoting Alisdair McDiarmid ([EMAIL PROTECTED]): > I've got an ATX system with APM enabled and working fine. I'd like to > disable the power button in software so that the machine effectively > cannot be switched off without root access - `shutdown -h now' would > still halt and power-down. > > Is this possible? I can't find an option similar to this in the > kernel options. Is it in your CMOS? But can't they just pull the plug? 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: [OFF-TOPIC] D-Link DE-650 - PCMCIA
Quoting Paul Harris ([EMAIL PROTECTED]): > > does anyone know if the kernel supports this card? i only saw options for > the de-600 to de-620. I use one. It says NE2000 compatible when you plug it in. I guess people get bored with adding new model numbers when they're basically similar underneath. What's far more important is the controller chipset in the laptop. For example I can now use the ti1220 in slink whereas I had to compile the sources from csb.stanford.edu with hamm. However, I can't install from scratch even in slink because the installation program only offers the choice of i82365 and tcic. This made installation quite tough as the slink installation kernel also has no ppa support. But then again, Windoze NT4 SP3 won't recognise the ti1220 even using the card manager disks specially supplied by Gatewav. 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: Alt+ArrowUp (inittab kbrequest)
Quoting J Horacio MG ([EMAIL PROTECTED]): > I have already pressed by mistake the Alt+ArrowUp key combo, resulting > in a system shutdown (losing all work done!). > > In my /etc/inittab I've got the Ctrl+Alt+End key combo configured for > shutdowns: > > kb:12345:kbrequest:/sbin/shutdown -t1 -a -h now > > and some kbrequest for the Alt+ArrowUp which reads: > > kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this > work." > > which says nothing about shutdown, so, why does Alt+ArrowUp perform a > system shutdown? Can I safely comment the line? I think you need to archive your postings and their replies a bit more efficiently. I was about to cut and paste a previous reply on the subject when I noticed that the question was posed by you! --8< On Sun, 20 Sep 1998, Horacio M.G. wrote: > Hi there, > > how can I make a key combo work? > In etc/inittab I get the following line: > > # What to do when CTRL-ALT-DEL is pressed. > ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now > > which is ok for shutting the system down and rebooting. But, how > about shutting down and halting? I tried adding the line: > > # What to do when CTRL-ALT-END is pressed. > ca:12345:ctrlaltend:/sbin/shutdown -t1 -a -h now > > which was just a guess, and obviously didn't work. I suppose I > should first of all configure [CtrlAltEnd] as a key combo, but how > and where? In /etc/kbd/default.map.gz: keycode 107 = Select altgr control keycode 107 = KeyboardSignal control alt keycode 107 = KeyboardSignal and in /etc/inittab: kb:12345:kbrequest:/sbin/shutdown -t1 -h now I use Ctrl-Alt-Ins for halt, if you want that, it is this: keycode 110 = Insert altgr control keycode 110 = KeyboardSignal control alt keycode 110 = KeyboardSignal That, in theory, and in practice here, works. Good luck, Michael Beattie ([EMAIL PROTECTED]) --8< 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: Alt+ArrowUp (inittab kbrequest)
Quoting J Horacio MG ([EMAIL PROTECTED]): > ~> I think you need to archive your postings and their replies a > ~> bit more efficiently. I was about to cut and paste a previous > ~> reply on the subject when I noticed that the question was posed > ~> by you! > > I can assure you they are efficiently enough archived. I asked why > Alt+ArrowUp would shutdown the system while it's not configured to > perform that task, and whether it would be safe to comment the line > which refers to it in /etc/inittab: > > # Action on special keypress (ALT-UpArrow). > kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this > work." > > See? it doesn't say anywhere to shutdown the system (at least that I > know), but it does. > > The answer I got about a year ago was about configuring Ctrl+Alt+End to > perform the shutdown task, which works perfectly. > > Thank you anyway for your concern I'm sorry. I thought in light of the previous thread's reply that you would know to look and see was already defined in /etc/kbd/default.map.gz to produce KeyboardSignal (which you yourself must have already made equivalent to shutdown). I hope it's all sorted now and you have removed alt keycode 103 = KeyboardSignal 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: [OFF-TOPIC] D-Link DE-650 - PCMCIA
Quoting Paul Harris ([EMAIL PROTECTED]): > > > does anyone know if the kernel supports this card? i only saw options for > > > the de-600 to de-620. > > > > I use one. It says NE2000 compatible when you plug it in. > > I guess people get bored with adding new model numbers > > when they're basically similar underneath. > > > > What's far more important is the controller chipset in the > > laptop. For example I can now use the ti1220 in slink > > whereas I had to compile the sources from csb.stanford.edu > > with hamm. However, I can't install from scratch even in > > slink because the installation program only offers the > > choice of i82365 and tcic. This made installation quite tough > > as the slink installation kernel also has no ppa support. > > i'm trying to compile a 2.2.10 kernel for it, but I can't find the option > for "Pcmcia NE2000 compatible support" for the apne.o module. Its in the > Configure.help file... or is there another way of doing things for pcmcia? > (i've only worked with desktops up until now). when does the controller > chipset come into things? how does that work? Short answer: do nothing. I don't know what the apne.o module is. But it sounds as if you may be looking for a problem that isn't there. If you're compiling a kernel, you've got kernel-package, kernel-source and pcmcia-source installed. Once you've configured the kernel in the usual way (I use make menuconfig), you do make-kpkg clean make-kpkg --revision=foobar.1.0 kernel_image make-kpkg --revision=foobar.1.0 modules_image which makes two packages which you then install. Note that as far as pcmcia is concerned, there's nothing to do. For example, I configure Ethernet (10 or 100Mbit) [*] (built-in) 3COM cards N (don't build) because 3COM comes up automatically. If you use pcmcia IDE stuff, then there's an option for that. But I never mention what sort of card manager or card I have - they're all in the source and, AIUI, you make a bundle of modules because you don't know a priori what make of card somebody else might want to push into the slot. 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: Alt+ArrowUp (inittab kbrequest)
Quoting Matt Folwell ([EMAIL PROTECTED]): > I could be totally wrong, but I think... > > On Mon, Jun 21, 1999 at 12:11:52AM +0200, J Horacio MG wrote: > > I have already pressed by mistake the Alt+ArrowUp key combo, resulting > > in a system shutdown (losing all work done!). > > > > In my /etc/inittab I've got the Ctrl+Alt+End key combo configured for > > shutdowns: > > > > kb:12345:kbrequest:/sbin/shutdown -t1 -a -h now > > This line tells init to shutdown whenever it receives a KeyboardSignal > from the keyboard handler, in runlevels 1-5. > > > and some kbrequest for the Alt+ArrowUp which reads: > > > > kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this > > work." > > This line doesn't give any runlevels, so it won't have any effect. That appears not to be the case. I think most slink users will have chanced upon this message on their VCs, so it was quite a good key definition to advertise the facility. OTOH if you use xdm you may be totally unaware of it because Alt-Up may already be defined to switch desktops in your window manager. man inittab (slink) admits to being incomplete and its explanation of runlevels could be improved. > > which says nothing about shutdown, so, why does Alt+ArrowUp perform a > > system shutdown? Can I safely comment the line? > > Alt+ArrowUp and Ctrl+Alt+End both send KeyboardSignal to init, so hopefully > you've got the line > alt keycode 103 = KeyboardSignal > in /etc/kbd/default.map.gz > If you remove that it should fix it. 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: APT: how to dwnld already debs...
Quoting churasco ([EMAIL PROTECTED]): > howdie, this must be a simple faq... but haven't found it in any > documentation: > > How to do you ask apt-get to download all the .deb files necessary for a > given package, if that package is already installed on your machine? I've > tried "apt-get -d install SOME-PACKAGE" but it works only for those > packages which are not yet installed on my machine. For those packages that > are already installed, it just tells me they are installed... > > Here is the more detailed scenario: I have two machines, an officeMachine > and a homeMachine. officeMachine is connected to the net and has debian > installed. homeMachine is not connected to the net (and has no cd-rom), and > has no debian (yet). The two machines share files through zip disks. The > goal is thus to dwnld packages (X11, gnome, etc.) with officeMachine, put > them on a zip, and install at home. > > Short of making a mini-mirror of ftp.debian.org on my hd/zip, it has been a > no-go for the moment... The way I find easiest is to start by editing the file /usr/lib/dpkg/methods/apt and changing "apt-clean" to "true". You can do this on VC2 as root as early in the installation procedure as possible, but in any case before the "package selection" stage. Then, after dselect has finished its downloading and during the unpacking stage (I always just accept the defaults), I copy /var/cache/apt/archives/*deb to wherever. I keep them in batches in separate directories so they're easy to dpkg -i *deb on other machines, though I have a python script to recreate a distribution tree using a Packages file. Of course, you need to clean the cache yourself between each batch of debs. You might not like this method... 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: changing default umask on useradd
Quoting Martin Bialasinski ([EMAIL PROTECTED]): > > >> "Chad" == Chad A Adlawan <[EMAIL PROTECTED]> writes: > > Chad> does anyone know of a way to change the default "useradd" or > Chad> "adduser" behaviour in terms of giving permissions to the new > Chad> users home directory ? that is, when u add a new user, the > Chad> permission on his/her new home dir is set at 755. > > The value is hardcoded into the file. You may want to file a wishlist > bug to make it configurable via /etc/adduser.conf > > If you crerate the directory with the wanted permissions before > calling adduser, adduser will simply this directory. > > So make yourself a custom script (myadduser or such), that creates the > directory and calls adduser afterwards. Alternatively, set the permissions afterwards. If you create the directory first, the skeleton files won't be copied because adduser assumes the home directory is not to be mucked about with. 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: Installing with LS-120 Drives
Quoting Joao Paulo Figueiredo ([EMAIL PROTECTED]): > > Is there any chance to install Debian with a > LS-120 Drive? My system doesn't have a 3.5 inch > floppy. > > When I trie "Install Base System" it gives > an error saying it can't read floppy: I/O error. I've used an external zip drive myself, though it meant compiling a kernel with ppa built-in because it's not in the slink installation kernel (it was in hamm). Anything you can mount will do. You could of course compile support for ide-floppy at that time and install from the LS-120. (I don't do that because I use the zip method for lowly PCs.) Another possibility, is to create a DOS partition on the hard disk and transfer the necessary files (like base2_1.tgz) onto that by whatever means you can manage. After installation, you could use the partition for something more useful if you choose an appropriate size. 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: new hard drive install
Quoting charles kaufman ([EMAIL PROTECTED]): > > Hi > Thanks Brad. > On Mon, 28 Jun 1999, Brad wrote: > > > > "kernel panic:VFS:Unable to mount root fs on 03:03" > > > > It's still trying to mount root from hda3. i don't know why, since you say > > you've checked and rechecked to make sure /etc/lilo.conf is correct and > > you've run lilo with the correct settings... > > > > Since i can't think of anything else, is the device correct? > > $ ls -l /dev/hda2 > > brw-rw 1 root disk 3, 2 Jun 17 22:13 /dev/hda2 > > ^^ > > > ls -l /dev/hda2 gives > brw-r--r-- 1 root root 3,2 Jul 28 1998 /dev/hda2 > > That's before it's mounted-I have been booting with tomsrtbt (thanks > to Tom!) so it might be different if it actually boots from that device. > > Is there somewhere in the kernel that remembers it used to boot from > /dev/hda3? Yes. When you copy a kernel (e.g. I copy /boot/vmlinuz to c:\loadlin\zimage for loadlin to boot from dos) you need to rdev it. Typerdev kernel-imageto see what it's set to and rdev kernel-image /dev/hda2to set it. This saves having to tell it where root is every time you boot it. 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: new hard drive install
Quoting charles kaufman ([EMAIL PROTECTED]): > Hello again > > On Tue, 29 Jun 1999, David Wright wrote: > > > Quoting charles kaufman ([EMAIL PROTECTED]): > > > "kernel panic:VFS:Unable to mount root fs on 03:03" > > > > > > > Is there somewhere in the kernel that remembers it used to boot from > > > /dev/hda3?> > > > > Yes. When you copy a kernel (e.g. I copy /boot/vmlinuz to > > c:\loadlin\zimage for loadlin to boot from dos) you need to rdev it. > > Typerdev kernel-imageto see what it's set to and > > rdev kernel-image /dev/hda2to set it. This saves having to tell it > > where root is every time you boot it. > > Thanks. > > But the lilo manpage says rdev is no longer needed since the parameters > can be set from the lilo prompt. No, but I answered the question as posed. I would guess that lilo just modifies the same bytes as rdev does, but on the fly as it loads the kernel. > I tried it anyway. With the new drive at /mnt, I did > rdev /mnt/vmlinuz /dev/hda2, and > rdev -s /mnt/vmlinuz /dev/hda3. > > I then then reattached the new drive onto the first ide connector and > rebooted. It failed in exactly the same way as before. > > In case they contains any hints, here are the messages which immediately > precede the panic: > > partition check: > hda: hda1 hda2 hda3 > [MS-DOS FS Rel.12, FAT 12, check=n,conv=b,uid=0,gid=0,umask=022] > [me=oxff,cs=32385,#f=255,fs=65409,fl=65409,ds=33024,de=65535,data=37215, > se=65635,ts=-1,ls=65535,rc=0,fc=4294967295] > Transaction block size=512 > UMSDOS Beta 0.6 (compatability level 0.4 fast msdos) > > the lines from [MSDOS.. to Transaction.. are then repeated, > and then it says > Kernel panic : VFS Unable to mount root fs on 03:03. I think that may change everything. Allowing for typos, because you copied that off the screen, did it really say FAT 12? It looks as though it's either misread the partition table (perhaps it got the geometry wrong or something) or the kernel lacks some necessary functionality to handle the new disk. What does lsmod show when you have the disk on /mnt. Is it using a module to get at that disk? Could your partitions be misnumbered in some way? Either way, I think you may need more expert help than I can provide. 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: new hard drive install
Quoting charles kaufman ([EMAIL PROTECTED]): > > > On Tue, 29 Jun 1999, Brad wrote: > >> > Yes it really says FAT 12 ... which you presumably don't have. (Actually I just saw my very first FAT12 partition yesterday when I was mending someone's disk geometry settings. It was 9MB in size, which I'd guess might be too small for FAT16.) So it's picking up garbage. > > > > What does Linux "fdisk -l" show? > > Here it is. The segmentation fault at the end is > part of the output.(not encouraging) > The disk is not all partitioned. > > fdisk -l > > The number of cylinders for this disk is set to 1027. This is > larger than 1024 and may cause problems with > 1)software that runs at boot time (e.g. LILO) > 2)booting and partitioning software from other OS's (e.g. > DOS FDISK, OS/2 FDISK) > > Disk /dev/hda: 255 Heads 63 Sectors 1027 Cylinders > Units =Cylinders of 16065*512 bytes > > Device Boot Begin Start End Blocks Id System > /dev/hda1 *11 64 51408+ 6 DOS 16 bit>=32M > /dev/hda2 * 65 65192 1028160 83 Linux native > /dev/hda3 193 193205 104422+ 82 Linux swap > Segmentation fault. Doesn't that raise the question as to how you partitioned the disk in the first place? Presumably that didn't segfault or you wouldn't have been able to write the partition table at all. Did you use a different program, in which case what does it say and does it agree with the above? Or did you use the same program in which case it's a bit worrying that a program can write a partition table which it itself can't then read. 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: new hard drive install
Quoting Brad ([EMAIL PROTECTED]): > On Tue, 29 Jun 1999, David Wright wrote: > > > Yes. When you copy a kernel (e.g. I copy /boot/vmlinuz to > > c:\loadlin\zimage for loadlin to boot from dos) you need to rdev it. ^^^ > > Typerdev kernel-imageto see what it's set to and > > rdev kernel-image /dev/hda2to set it. This saves having to tell it > > where root is every time you boot it. > > Not necessary. Recently i repartitioned my HD, moved Linux from hda2 to > hda1. Never had any trouble after i restored my filesystem from backups > and reran lilo (after editing lilo.conf and fstab) Loadlin is not lilo. The "Yes" was answering the question as put, which was IIRC "Does the kernel have a place in which it remembers its root device". (But this was before it was revealed that there were far more serious error messages than a kernel panic.) 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: Help identify motherboard (486)
Quoting Arcady Genkin ([EMAIL PROTECTED]): > Hi all: > > I've inherited a i486 DX4 from a friend, that's supposed to run at > 100MHz. However the computer seems very slow. There's no documentation > to the motherboard, and I'm afraid I'm running it with "Turbo" turned > off, and I don't know which pins are responsible for "Turbo" (they are > only marked numerically). Neither can I connect internal speaker. Well I can't help with IDing the mobo, but to check if the turbo is turned off, here are a couple of typical Bogomips: 486DX 33MHz 16 bogomips 486DX2 66MHz 26 bogomips so you ought to get more than that if it's on, and a lot less if off. 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.
ARP difficulties with 2.2.x kernels and slink
I've done what I suspect many have, which is to build a 2.2.x kernel on top of slink, making the minimal changes outlined below. I have no problems except with the one machine at work that is connected to the ethernet and has a modem. If this machine runs 2.0.36 (all my others run 2.2.10), PPP between home and work works; if it runs 2.2.10, there's some sort of ARP failure (and the mask is wrong, lines marked ^). At work 2.0.36 (I've removed the packet/collision/memory lines) eth0 Link encap:Ethernet HWaddr 00:A0:24:B8:63:B5 inet addr:888.888.92.23 Bcast:888.888.93.255 Mask:255.255.254.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 loLink encap:Local Loopback inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0 UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1 ppp0 Link encap:Point-to-Point Protocol inet addr:888.888.92.23 P-t-P:888.888.92.28 Mask:255.255.254.0 UP POINTOPOINT RUNNING MTU:1500 Metric:1 888.888.92.28 0.0.0.0 255.255.255.255 UH0 01 ppp0 888.888.92.00.0.0.0 255.255.254.0 U 0 0 70 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 01 lo 0.0.0.0 888.888.92.10.0.0.0 UG1 0 143 eth0 ? (888.888.92.1) at 08:00:02:07:04:66 [ether] on eth0 ? (888.888.92.21) at 00:60:97:51:31:05 [ether] on eth0 ? (888.888.92.26) at 00:A0:24:93:4D:8E [ether] on eth0 ? (888.888.92.29) at 00:10:4B:46:4B:C2 [ether] on eth0 ? (888.888.92.28) at 00:A0:24:B8:63:B5 [ether] PERM PUP on eth0 At work 2.2.10 eth0 Link encap:Ethernet HWaddr 00:A0:24:B8:63:B5 inet addr:888.888.92.23 Bcast:888.888.93.255 Mask:255.255.254.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:3924 Metric:1 ppp0 Link encap:Point-to-Point Protocol inet addr:888.888.92.23 P-t-P:888.888.92.28 Mask:255.255.255.255 /^\ UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 /^\ 888.888.92.28 0.0.0.0 255.255.255.255 UH0 00 ppp0 888.888.92.00.0.0.0 255.255.254.0 U 0 00 eth0 0.0.0.0 888.888.92.10.0.0.0 UG1 00 eth0 ? (888.888.92.1) at 08:00:02:07:04:66 [ether] on eth0 ? (888.888.92.26) at 00:A0:24:93:4D:8E [ether] on eth0 ? (888.888.92.28) at * PERM PUP on eth0 /^\ The machine at home has a similarly strange ifconfig for ppp0, but that doesn't stop it working on the internet. But I haven't tested whether the laptop can work through its ethernet link. At home 2.2.10 eth0 Link encap:Ethernet HWaddr 00:10:4B:45:46:E2 inet addr:888.888.92.28 Bcast:888.888.93.255 Mask:255.255.254.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 eth0:1Link encap:Ethernet HWaddr 00:10:4B:45:46:E2 inet addr:777.777.197.254 Bcast:777.777.197.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:3924 Metric:1 ppp0 Link encap:Point-to-Point Protocol inet addr:888.888.92.28 P-t-P:888.888.92.23 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 888.888.92.23 0.0.0.0 255.255.255.255 UH0 00 ppp0 777.777.197.0 0.0.0.0 255.255.255.0 U 0 00 eth0 0.0.0.0 888.888.92.23 0.0.0.0 UG0 00 ppp0 ? (888.888.92.23) at * PERM PUP on eth0 I've read www.debian.org/releases/2.1/running-kernel-2.2 and installed www.debian.org/~rcw/2.2/netbase/netbase_3.12-2_i386.deb but am not using the other things like dhcp, pcmcia, isdn, bootpc, diald. I've removed the redundant route commands from /etc/init.d/network. At home, I delete the redundant route to the .92 network that 2.2.x makes, and resolv.conf is filled/emptied by ip-up/down. I've noticed that /proc/sys/net/ipv4/ip_forward is set to 1 in 2.0.36 and 0 in 2.2.10 by default so I changed it to 1 but with no effect. What have I missed? 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: still configuring PPP :-(
Quoting Andreas Persenius ([EMAIL PROTECTED]): Sorry; I deleted the original posting... > Quoting Isabelle Poueriet ([EMAIL PROTECTED]): > > Hello everyone. I'm sorry to post this again, but I'm having new problem > > now. > > > > I made some changes to those files I sent before and now when I type pppd > > at the command prompt I get some garbage text on my screen, and after a > > little while(30 seconds or so) I get the prompt back. > > > > I tailed d my /var/log/messages file and it reads as follows: > > > > pppd started by root. > > using interface ppp0 > > connect : ppp0 <---> /dev/tty1 You're sending the packets to VC1, hence the garbage on the screen, and not to your modem, which is ttySn where n is 0 through 3. > > Lcp: time out sending config-Request > > Receive serial link is not 8-bit clean > > Problem: all had bit 7 set to 0 > > Exit i.e. nothing comes back. (And "nothing" has the top bit unset!) > > > > Any suggestions? I tried minicom -h but minicom is not in my system. > > I only have the base system installed. It's Debian 2.1 (Slink). > > I also tried wvdial. Not installed either. > > > > I'm eager to get Debian going. Please help. > > Thanks a million in advance. 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: Where is klogd instructed to dump the ring buffer into syslog?
Quoting Marc Haber ([EMAIL PROTECTED]): > On Sun, 4 Jul 1999 13:14:46 -0700 (PDT), you wrote: > >On Sun, 4 Jul 1999, Marc Haber wrote: > >> I am curious. Where do I find the code that does this on Debian? I > >> grepped for klogd in /etc but did not find explicit code to do so. > > > >/etc/init.d/sysklogd > > I fail to see where there is data copied from klogd to syslog > explicitly. Which line does it? Er, klogd does it. That's what klogd does (man klogd). What you've stumbled across in some other distribution is the use of a one-shot (-o) emptying of the buffer to an explicitly named file (-f filename) for some purpose. 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: Module problems!
Quoting Ramakrishnan M ([EMAIL PROTECTED]): > hello, > I had been reading the Linux Device Drivers,and tried running the > first program. > #define KERNEL > #include ... > ...init_module(...) > . That first line is wrong, but I guess you copied into the email wrongly. > when I do insmod prog.o it says the program has been compiled to run on > kernel 2.2.5 and the running kernel is 2.2.10. Sure! I have 2.2.10 kernel > running but I am not able to understand the 2.2.5 business. Itried > installing an older kernel and recompiled it,with no useful result.Please > help! I compile modules with something like gcc -DMODULE -D__KERNEL__ -I. -I/usr/local/src/linux/include \ -O2 -m486 -g -Wall -c $@ -o foo.o foo.c where linux is a link to the kernel source tree. Now that kernel-source packages just install a .tgz file rather than the tree, and you have to untar the tree yourself, you have to make sure that link is correct (or use the full name -I/usr/local/src/kernel-source-2.2.10/include instead). 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: Installation package batches
Quoting Eric Mak ([EMAIL PROTECTED]): > Hi, I was wondering how I could get a list of the packages that are given by > each of the options just before the initial post-installation use of dselect > in slink (where options for preselected package batches are given with > Admin, Workstation, Dialup etc). Thanks. I think the file you need is in the boot-floppies package: /usr/src/boot-floppies/scripts/basedisks/master2files/master 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: Wierd subject names in mutt
Quoting Patrick Kirk ([EMAIL PROTECTED]): > This wierdness only seems to affect threaded replies to mailing lists so at > least I know what the mangles subjects are. Exactly. It looks as if mutt is sending line-drawing chars which something (VC/xterm etc.) doesn't know how to display. You might set ascii_chars in .muttrc while you sort out your character sets. This will make mutt use - | etc. from low ascii. 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: Potato upgrade and Perl warnings...
Quoting Michael Merten ([EMAIL PROTECTED]): > Uh, I really think that's what the "Updated Standard packages", > "Updated Optional packages", etc sections of the select screen are for. > OTOH, I totally agree that dselect can be dangerous for anyone that > mistakenly skips the 'select' stage. Perhaps it would be better if > 'update' kicks you directly into 'select' instead of returning to > the menu. Hmm. I don't like this "automatic moving on" even when you get the menu. To leave "Select" you have to press . If you unintentionally press it twice (eg the keyboard double-strikes, or a slow 386 makes you think you might not have tapped the key hard enough) dselect goes straight into "Install" whereas you might want "Remove" or, even worse, to repeat "Select". 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: Trouble with new user
Quoting J Horacio MG ([EMAIL PROTECTED]): > In an attempt to create a new user, with useradd command, the new user's > home directory was created, and so was the line in /etc/passwd: > > usermaria:x:1001:100::/home/usermaria:/bin/bash > > But if I try to log in as such user: > > login: usermaria > Password: xxx > Login incorrect > > What may I have done wrong? Perhaps you typed the wrong password? Try setting the password again from root with passwd -u and then have another go. Case of letters is significant. BTW, adduser is easier, I find, than useradd. > Also, strangely, I have a file in the /etc directory named góoup-. This > file I believe it's a copy of the file group, see: > > 1 -rw-r--r-- 1 root root 567 jul 14 18:50 group > 1 -rw--- 1 root root 560 jul 14 18:49 group- > 1 -rw--- 1 root root 504 may 21 11:36 góoup- > > The new user doesn't show in the group file (it should, at least in its > own group, right?). Check man useradd and the switches you used. Then use adduser? I don't know about the oddly named file. 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: Adding users - two quick questions
Quoting Patrick Kirk ([EMAIL PROTECTED]): > Hi all, > > When I add users, they get this when they login: > > enterprise login: newuser > Password: > No directory, logging in with HOME=/ > No mail. > > Why is no home directory available for them and how do I get the system to > create default directories by appending the username to /home? Perhaps you used useradd without enough switches. I prefer adduser. Create then as root and copy the contents of /etc/skel to them. > I need to be able to print off a log of when they were logged on and what > commands were used. Printing .bash_history will do half of this but I'd > like to be able to link commands and dates. How do I do this? Install admin/acct, I guess. I've had trouble in the past with /var/account/pacct growing out of control, so I don't use it. .bash_history is useless because you can prevent commands appearing if there's an initial space by setting HISTCONTROL (man bash). 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: Questions after recompiling kernel
Quoting Stuart Ballard ([EMAIL PROTECTED]): > I just compiled kernel 2.2.10 on my potato machine. This is the first > time I've ever compiled a kernel, so these questions are probably > elementary, but I can't find the right docs anywhere... > > I used the build sequence from > /usr/doc/kernel-source-2.2.10/debian.README.gz, which essentially was > "make xconfig; make-kpkg clean; make-kpkg (some other options); dpkg -i > (filename). > > Firstly, I compiled the kernel with everything I wanted compiled in, > rather than as a module. This includes an NE2000 network card. In the > past (using the stock kernel-image packages) I have specified the IO and > IRQ for this in /etc/modutils/modconf. But since it isn't a module any > more, this won't work. Is there a way to specify this information when > NE2000 support is compiled into the kernel, or do I need to make it a > module? (I don't get any messages about NE cards when I boot up, and I > get "SIOC"something errors and "eth0: no such interface" errors later, > presumably in the init.d/network scripts) I think you need "append" in your boot parameters (depending on which way you boot). I prefer my NIC as a module as very occasionally it gets its interrupts in a twist and can then be reloaded. > Second, on bootup, I get messages of the form "xxx cannot find module > xxx" (this is approximate as I'm not in front of the machine right now). > The xxx's are the names of modules that *used* to be in my kernel, but > are now compiled in. I'm guessing that this is due to my conf.modules > file, which didn't appear to get changed during the upgrade. How can I > find out what is supposed to be there and what isn't? It's /etc/modules which needs emptying. 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: Adding users - two quick questions
Quoting Patrick Kirk ([EMAIL PROTECTED]): > > > > > > About the 'no home' ting: it means that the system couldn't cd to the > user's > > homedir after assuming the identity of the user. Usually this means > > that /home isn't mounted, or wasn't mounted when you added the user, but > > you may have other reasons. Just make sure that the entry in /etc/passwd > > for the user accurately reflects their homedir, then 'chown -R user ~user' > > and 'chmod -R u+rwX ~user'. > Question is why useradd john -d /home/john doesn't work Maybe you need -m as well. (In answer to your email, that's partly why I use adduser: less switches to remember, better defaults.) > > I am not sure that listing the users' commands is legal (but I'm not a > > lawyer so don't ask me) or desirable. It's called 'process accounting' in > I would hope that logging what contractors are doing on my machine is legal > or else I could be charged for work that was never done and/or liable for > abuse of the system. Perhaps you could mention this in /etc/issue or whatever (like stating that you're recording a telephone call). 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: Questions after recompiling kernel
Quoting Stuart Ballard ([EMAIL PROTECTED]): > David Wright wrote: > > > > Quoting Stuart Ballard ([EMAIL PROTECTED]): > > > I just compiled kernel 2.2.10 on my potato machine. This is the first > > > time I've ever compiled a kernel, so these questions are probably > > > elementary, but I can't find the right docs anywhere... > > > > [Snipped question about providing startup parameters to "ne" module when > it's NOT a module] > > I think you need "append" in your boot parameters (depending on > > which way you boot). I prefer my NIC as a module as very occasionally > > it gets its interrupts in a twist and can then be reloaded. > > I recompiled and made it a module this time. No problems now. Thanks :) > > [Snipped question about startup errors] > > It's /etc/modules which needs emptying. > > This worked too - thanks much :) > > Just one more question... I still get the notorious "SIOCADDRT: Invalid > argument" error on bootup. I've read all over the place that the > solution to this is to comment out the "route add -net" line in ^^^ > /etc/init.d/network. However, I already did this, and I still get the > message. Any ideas, anyone? There were two. You didn't leave one there, did you? 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: ARP difficulties with 2.2.x kernels and slink
Sorry to reply to my own posting, but all I've had in response is one private email concurring that a working ppp under 2.0.x doesn't work under 2.2.x. Having played about with arp under 2.2.10, the problem seems to boil down to this: # arp -i eth0 -d 888.888.92.28 # arp -i eth0 -s 888.888.92.28 -D eth0 $ arp -n -a ? (888.888.92.28) at 00:A0:24:B8:63:B5 [ether] PERM on eth0 /proc/net/arp contains 888.888.92.28 0x1 0x6 00:A0:24:B8:63:B5 * eth0 # arp -i eth0 -d 888.888.92.28 # arp -i eth0 -s 888.888.92.28 -D eth0 pub $ arp -n -a ? (888.888.92.28) at * PERM PUP on eth0 /proc/net/arp contains 888.888.92.28 0x1 0xc 00:00:00:00:00:00 * eth0 In both cases, other machines show ? (888.888.92.28) at on eth0 So it appears that publishing the ARP entry kills the hardware address which negates the whole point of publishing it anyway. Quoting David Wright ([EMAIL PROTECTED]): [...] > > I've read www.debian.org/releases/2.1/running-kernel-2.2 > and installed www.debian.org/~rcw/2.2/netbase/netbase_3.12-2_i386.deb > but am not using the other things like dhcp, pcmcia, isdn, bootpc, > diald. > > I've removed the redundant route commands from /etc/init.d/network. > At home, I delete the redundant route to the .92 network that > 2.2.x makes, and resolv.conf is filled/emptied by ip-up/down. > > I've noticed that /proc/sys/net/ipv4/ip_forward is set to 1 in 2.0.36 > and 0 in 2.2.10 by default so I changed it to 1 but with no effect. > > What have I missed? 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: Questions after recompiling kernel
Quoting Brad ([EMAIL PROTECTED]): > On Tue, 20 Jul 1999, David Wright wrote: > > > There were two. You didn't leave one there, did you? > > Recently, i noticed a file "setup-localhost" showed up in /etc/init.d (and > properly symlinked) that tries to configure the lo interface (which is > already done by "network" anyway) and uses the route command. dpkg -S > can't find a parent package. The package search engine can't find a > package. grepping /var/lib/dpkg/info doesn't find an install script that > creates it. None of the changelogs in /usr/doc/* seem to mention it either > (more zgrepping). Nothing in /usr/local/src mentions it either. > > So where did this file come from? i'm running potato. No idea. However, take a look at the timestamps on the rcN.d symlinks which indicate when it was installed. Then see if you can find any directories or configuration files with the same timestamp, as these also indicate when their parent packages were installed. /var/dpkg/info is worth looking at, too, because the *.list files frequently have an installation-time timestamp (though not always). 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: 3Com 509B Ethernet card working in Windows but not in Linux
Quoting Dan Brosemer ([EMAIL PROTECTED]): > Only problem I've ever had with a 509B was that it was configured to use the > BNC port when I had a TP network and vice-versa. Check that this is not the > case. ... and don't believe the autoselect option; select the right one. > Also, if you have only one network card in your system, it's perfectly safe > to compile the 905B support _into_ the kernel rather than as a module which > will save you a little trouble if you're a newbie. [typo, 509] ... but a module can save a reboot if the driver/card/wire plays up (as has happened to me). 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: My terminal is in a weird state - SOLVED
Quoting Mark Wright ([EMAIL PROTECTED]): > > >Mark Wright wrote: > >> I just managed to completely hose my virtual terminal display. It seems > >> that non-alpha-numeric characters have been replaced with ascii > 127 > >> characters. I.e. the '-' becomes the upside down '!'. I've tried > 'reset', > >> but that doesn't help. All of my virtual terminals are hosed. For now I > >> can telnet in, but eventually I'd like to be able to work at the machine > >> itself, and I'd like to avoid rebooting if I can. The problem started > after > >> I droped out of X, after installing Blackbox 5. Any ideas on how to fix > the > >> problem? > > I figured out the problem - the Keyboard-and-Console-HOWTO had the answer - > type 'setfont' at the prompt. Now I have to go read it and figure out what > I just did... Unfortunately all you did was drop out of X. Ditto when you eventually exit. I have this problem with the Avance ALG2301/2 cards I have. Cures: 1. Run xdm and forget VCs. 2. Type your setfont command and then startx & so that you can recall the setfont command whenever you need it. 3. Define a single character alias, like F, to issue the setfont. 4. Learn to read the character mapping (if it's as consistent as mine). 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: [Fwd: Lynx Problems]
Quoting Doug Young ([EMAIL PROTECTED]): > Those who have been pondering my Lynx problems might care to comment on > this message I received from a guy who answered a post elsewhere. If he > is correct, it appears that I may have been trying to do something that > even experts would find difficult. I haven't been following this thread too closely, but my experience is that "Debian lynx" runs without any contribution from you other than a home page to start on. If you're not on a permanent internet connection, a good choice is http://localhost/dwww/index.html after installing the dwww package. However, to get pages from the internet, lynx (like everything else) assumes you've got your internet connection (PPP, say) set up correctly, and this is not as straightforward. > now i understand the source of your problem. you are trying to use a > copy of lynx found on a distribution copy of linux. just a suggestion, > linux is not for a beginner, as you have self described yourself. > almost > every part of it must be setup and configured by someone who knows more > then a casual experience with it. That's what Debian developers do (thanks, folks). That's why most of Debian runs straight out of the box. Yes, five years ago, there were plenty of people struggling to get to grips with Slackware etc. > when you see people talking about > using linux on the discussion groups, they are dialing into an internet > provider where the copy of linx resides. I shall assume those are both typos for lynx. But be careful about taking any advice from people who can't be bothered to spell unambiguously the most important keywords in the discussion. > there computer is in fact > operating that computer remotely; so a command made on their computer > goes > over the phone line through the modem and is recieved and performed by > the > remote computer. what ever results from that command appears on the > local computer. Again, this person sounds five or more years out of date. Before internet connectivity became pervasive, lots of people would login to a timesharing service (using minicom, kermit, telix etc.) and type "lynx". Because lynx is text based, they got just the same functionality as running it on their own box (except that downloaded files would still need to be transferred from the lynx host to their own computer using, say, the kermit protocol). In fact, you didn't even need a computer. You could just as easily use a terminal to login from. > if you really want to use linux and operate a copy of > linx on it, you need help from someone who knows the linux operating > system and how to set things up. i have only a minimal knowledge of > linux. Evidently. > a second choice is to find a copy of linx which operates either > under dos or windows, such do exist. a third way to use linx is as i > do > and as i have just described above, to use my computer to operate a > remote > computer which has linx on it. Unfortunately, they don't say how the two computers are linked. If they're using telnet, for example, do they realise that they've solved the tricky bit. > if you want to pursue using linx on > linux, i can direct you to a group of blind linux users. It's hard to resist making the obvious cheap wisecrack! 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: mc: How to terminate an FTP connection ?
Quoting shaul ([EMAIL PROTECTED]): > Package: mc > Version: 4.5.1-1.1 > > I have another mc (midnight commander) question. > How can I terminate an ftp connection made from within mc ? > The fact that I can not terminate such a connection at will has 2 > implications for me: > 1) I am holding an unused connection to the server until its timeout closes > it. If you need to close the connection so you can poff, say, I'd just quit with F10 and then mc again. > 2) I can not connect again to the server afterwards unless I exit mc and then > run it again. The reason for this is that mc will not agree to reopen the > connection since it knows that it was closed. I'm not sure what you mean here. My observations are a) if you move up off the top of the ftp tree (e.g. too many left arrow keystrokes), you can reconnect with F9 P without quoting the password, b) if the connection has timed out, you can reconnect by pressing Ctrl-R. Sometimes you get back an empty file list, in which case you can press Ctrl-R once more and it retries getting the list. (Repeat slowly if necessary, and watch the dialogue at the foot of the screen.) 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: 3Com 509B Ethernet card problem part 2
Quoting Fredrik Jonsson ([EMAIL PROTECTED]): > > What I was trying to do was to compile the 3c509 driver hard into the > kernel with "modconf" and was geting only errors. Many suggested to load > the driver as a module insteed so I have put the line "alias eth0 3c509" > in to the file "conf.modules" via update-modules command. I don't know what you are intending to do with that line. I would remove any references to eth0 or 3c509 in /etc/modutils/* (and update-modules), and put into /etc/modules the line: 3c509 This will insert it at boot time and keep it there (no autoclean). 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: bad login tracking
Quoting Chad A. Adlawan ([EMAIL PROTECTED]): > hello all, >when i invoke 'lastb', i get the following output : > > UNKNOWN ttyp1ruf2-6.evoserve. Tue Jul 27 21:13 - 21:13 (00:00) > chadittyp1ruf2-6.evoserve. Tue Jul 27 21:12 - 21:12 (00:00) > >that is, UNKNOWN for someone who tried to enter a non-exixtent username > (w/ reference to /etc/passwd) and the "chadi" field for someone who tried to > log-in using the username "chadi" and providing the wrong password. > >question, is there any way for as to know as to what exactly is the > 'guess' user name someone tried to enter w/c resulted in the UNKNOWN record > for /var/log/btmp ? What's the point? Do crackers try to login with their email address? Or perhaps someone typed their password because they hadn't expected a username prompt. >we know that for the entry "chadi", that there really is a user chadi on > the system but his password was wrongly entered. is there any way for us to > capture and know what the wrongly enetered password is (guess password) and > record it in some file ? Again, what's the point. Do you ask chadi if they remember making such a mistake? What might be more reassuring is to check that bad logins are immediately followed by a good one. Everyone makes typos. 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: Potato
Quoting Nate Duehr ([EMAIL PROTECTED]): > It's not all that stable if you're keeping up with the upgrades and > changes constantly being released. Major stuff has been broken (and then > later fixed) recently by updated packages. > > If you get one up and running with *exactly* what you need and aren't > going to use the package systems to upgrade it anymore from that point > until it's more stable or until you have another machine you can check > stuff on, DON'T run mission-critical stuff on it. > > My opinion, but one I've seen here many times. Unstable means unstable. > Period. And honestly, my critical slink machines do a great job... and the original question: > > > > Anyone using the Potato release on a machine that needs to be up. How > > stable is it at this point? Surely the point is that potato *isn't* a release (yet). So how stable (lay sense) it is depends on the moment you chose to download it, and the wisdom and luck with which you applied any upgrades. 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: using AUI port of 3c529 (MCA) network card
Quoting Matthew Munsey ([EMAIL PROTECTED]): > I've been unsuccessful in getting my 3Com 3c529 MCA Ethernet card to > communicate with the network using the AUI port, although the 10baseT > (twisted pair) connection with the card works fine. The 3c529 is the MCA > (IBM's proprietary microchannel architecture for the PS/2 and other > machines) version of the 3c509 (same chipset), so I use the 3c509.o module > that came with my Debian installation (Linux 2.0.36). The 3c509.c file in > the 2.0.36 source tree actually has MCA detection code for the 3c529, > although I'm not sure that it's complete. > > To debug the problem, I've tried compiling the module myself from the > 2.0.36 source tree, sometimes with certain modifications and also without > any changes. However, I have the problem that the newly compiled 3c509.o > will not work at all with my network card, even though the one that came > with Debian (supposedly 2.0.36) does work. Is it possible that the 3c509.c > source that was used in this version of Debian is different than the one in > the 2.0.36 source tree I've been using to compile my own? Does anyone know > what version of 3c509.c is in this Debian distribution? I would doubt that it's a different version, but there are IFDEFs in there which could change what's actually compiled. (Thus I notice that my own 2.0.36 is 600bytes smaller than the installation version, presumably because CONFIG_MCA is not set by me.) > When I insmod the correct 3c509.o module without any arguments (insmod > 3c509), I get the following (note that the card identification on the first > line comes directly from the MCA card and thus has nothing to with the > module's detection mechanism): You're sure of that? My interpretation of the source is that only two unsigned chars are read from the card (apart from the id, of course). > # insmod 3c509 > 3c509: found 3Com 3c529 EtherLink III (10baseT) at slot 3 > eth0: 3c509 at 0x200 tag 0, 10baseT port, address 00 20 af 99 a8 1e, IRQ 5. > 3c509.c:1.16 2/3/98 [EMAIL PROTECTED] > > After this, I manually run /etc/init.d/network, and the card then works > fine off the 10baseT port. > > [Note: The version of 3c509.c in the 2.0.36 source tree is also identified > as v1.16 2/3/98, so it seems like it should be the same.] > > However, when I run the version that I compiled myself from the 2.0.36 > source tree, I get the following: > # insmod 3c509 > /lib/modules/2.0.36/net/3c509.o: init_module: Device or resource busy As I understand it, that message is a catch-all. It might be worth comparing your .config file with the installation one if you're compiling the whole kernel. If you're not, are you sure you are setting all the necessary switches? For example, I would expect my own 3c509.o to produce that message on your system. > If I subsequently replace the 3c509.o file with the correct module (the one > that came with the Debian distribution), it then works as shown above. That would suggest something is missing in your version. I take it this is still the unmodified source. All bets are off if you modify the source (unless you're just mispelling the odd text string to trace what's coming from where - e.g. to test your theory about where "3Com 3c529 EtherLink III (10baseT) at slot 3" is coming from). > However, I want to enable the AUI port on the network card, so I use the > xcvr option to set the transceiver port to 1 (AUI), but I get the same > response from the module (which still claims that I am using the 10baseT > port, as seen in the second line of output, where it should instead say AUI > port): > # insmod 3c509 xcvr=1 > 3c509: found 3Com 3c529 EtherLink III (10baseT) at slot 3 > eth0: 3c509 at 0x200 tag 0, 10baseT port, address 00 20 af 99 a8 1e, IRQ 5. > 3c509.c:1.16 2/3/98 [EMAIL PROTECTED] I can't see how this would work. I can see where irq=N gets overwritten at if (dev) {/* Set passed-in IRQ or I/O Addr. */ but there's no mention of if_port that I can see. My interpretation is that the if_port emerges from the id in: struct el3_mca_adapters_struct el3_mca_adapters[] = { { "3Com 3c529 EtherLink III (10base2)", 0x627c }, { "3Com 3c529 EtherLink III (10baseT)", 0x627d }, { "3Com 3c529 EtherLink III (test mode)", 0x62db }, { "3Com 3c529 EtherLink III (TP or coax)", 0x62f6 }, { "3Com 3c529 EtherLink III (TP)", 0x62f7 }, { NULL, 0 }, }; That would imply that the card has to tell the kernel which transceiver it is going to use through the id. > Thanks for any advice or information on this setup and my difficulties. The best advice is probably still to set the card up with its own (dos) utility for
Re: dselect woes
Quoting Dean ([EMAIL PROTECTED]): > Since no one has responded will add a few more comments. I now see the > message > is md5sum. I was new installing using apt I downloaded a user profile. > It looked > like apt drew all files from stable main. Just got to the end of all the > downloading when dselect now shows the message md5sum. Have cked > archives > and came up empty. I don't understand your last sentence. > Since its a new install until I get this user profile > installed > I don't have any man command. Do I dump the 147m I downloaded and > restart? I wouldn't do that. I would leave dpkg to sort out the mess itself. Presumably you have a lot of .deb files in /var/cache/apt/archives/ so just (as root) type dpkg -i /var/cache/apt/archives/*deb and see how it gets on. When it's finished, you might try dpkg --configure --pending and you can repeat that until there's no change. Then type dpkg -l | less and look for lines not starting ii (type /!^ii press return and type n about four times to get past the preamble). You might then use dselect to refetch just those packages. Anything to avoid a 147MB download! > > PPS: Don't know if this is anything but ppp.log had this message: > > Cannot > > determine ethernet address for proxy ARP Just an informational message, no worry. 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: help with socket programming[OFF TOPIC]
Quoting Shao Zhang ([EMAIL PROTECTED]): > > while (1) { > if ((NewHandle = accept(CGIHandle, (struct sockaddr > *)&CGI_addr, \ > &sin_size)) == -1) { > perror("cannot accept"); > continue; > } > > if (!fork() ) { /* this is the child */ > /* process the cgi request; */ > > close(NewHandle); > exit(0); > } > > close(NewHandle); /* parent does not need this */ > } > > My problem is I have to close the NewHandle for the parent process. > But once I did this, when another request comes > in, accept will allocate a new file descriptor with the same number it > allocated before, since it is thinking the last one is closed. > If the last child process still has not finished, then I will have two > child process with the same descriptor, and then the child > will return the request to the wrong location. You've answered this yourself. "a new file descriptor with the same number". So you have, for example, file descriptors p(arent)-n(umber) which becomes p-n=c(hild)1-n at the fork. p-n is then closed, leaving c1-n. Now the second request leads to p-n again, which becomes p-n=c2-n, and p-n gets closed. At any one time, there exist: p-n=cc-n .. c2-n c1-n and they're all unique except the first pair. n is the same in all cases, but they're in different processes, and so distinguishable. 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: kernel read/write
Quoting Michael Edward Christman ([EMAIL PROTECTED]): > I'm trying to write between the application level and the kernel. I am > using version 2.0.34 and am attempting to use memcpy_tofs and > memcpy_fromfs, but am having some trouble. If I use these functions in > the application level, what do I use for the *to and *from variables. I > assume that you can use a FILE for whatever is in the user space, Yes, it's the second argument of the foo_read or foo_write. > but > where is the data stored in the kernel? Is it something like /dev/file?, > and if so, how do I assign a pointer to it? It's just an automatic (I think that's the jargon; ordinary) variable declared in the routine. Or are you talking large transfers? Then you'd have to kmalloc some memory. One of the nice things about 2.2 kernels is that get/put_user do all the VERIFY_... checking for you (assuming you're doing single value read/writes). > WBTE > (Wet Behind The Ears) ditto. 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: kernel read/write
Quoting Michael Edward Christman ([EMAIL PROTECTED]): > I am modifying a current driver inoder to control it by using read/writes. > I am trying to implement the memcpy_tofs/memcpy_fromfs. My question is > how do I find the pointer to the user space. My previous reply assumed that you knew that already, from your own assumption: "am attempting to use memcpy_tofs and memcpy_fromfs, but am having some trouble. If I use these functions in the application level, what do I use for the *to and *from variables. I assume that you can use a FILE for whatever is in the user space," > I have tried to use fopen() > etc. but there are conflicts when I try to include "stdio.h". You're not trying to fopen() in the driver, are you? You open the device /dev/foo in the user program, and the driver catches the read/writes on that file. > As this is > a previously created driver i don't want to start playing with it. Ironically, you would do well to base your driver on an existing driver in the kernel source. Otherwise, buy Rubini's Linux Device Drivers (O'Reilly). Not knowing what driver you're modifying and what you're trying to do with it, it all seems a bit unusual. Most drivers will already contain code to handle reads and writes as that's in the nature of drivers. In-band control is usually undesirable because it interferes with the primary data (like xon/xoff do in binary data). I would be less surprised if you were trying to add ioctls to control it. > Any ideas? And to repeat what I said before, it's definitely worth seeing if you can move on to 2.2 kernels (and Rubini's chapter 17) because many of the macros and functions have been made cleverer. 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: wmcdplay and tray-locking
Quoting Marc Meier ([EMAIL PROTECTED]): > As much as I like the wmcdplay-programm, the locking of the drivetray > sometimes is a real nightmare. IMO it makes no sense to lock the tray > even when the drive is empty or a data CD is insert. > > Is there a patch available to remove this "missbehavior"? I already have a more serious bug to report. I shall include this one as a bug, if you like, on the same report. My bug is that you can't play CDs with long, tracked, movements without getting interruptions where the track number changes. Sometimes it even jumps short tracks entirely, for example, where you have a set of continuous but tracked variations and some are maybe under a minute. I've read of this fault in the earliest CDplayer reviews (1983/4) but had never experienced it until wmcdplay. 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: How to escape this for the bash shell...
Quoting Alex Shnitman ([EMAIL PROTECTED]): > On Wed, Aug 04, 1999 at 01:22:17AM -0600, Nate Duehr wrote: > > > I have a file named : > > > > ?[4~?[4~?[4~?[4~?[4~?[4~?[4~?[4~?[4~?[4~ > > > > ... in my home directory. > > > > I am wondering how to escape this properly for rm to work on it in > > bash. > > Most people told you to rm ./file or rm 'file' but that won't work of > course since you can't input the filename from the keyboard at > all. (The name as you typed it looks like it consists of escape > sequences, not something you can easily type on the keyboard.) So it's > a better idea to use the shell's wildcard expansion to do the work for > you. You can type rm -i * and then answer n for every file except for > this one. In the general case, I think you still need the ./* in case you have files called -d etc. which would generate undesirable option switches. I would also assume that rm -i ./*4~ could speed things up. Where the file name at least starts with printable characters, recognition () can also help as it automatically inserts the necessary backslashes. 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: Sound error: Couldn't allocate DMA buffer
Quoting Andy Spiegl ([EMAIL PROTECTED]): > Hi! > > After my system (kernel 2.2.5) is running for more than a few days, > I can't play sounds anymore and get these syslog messages: > > Aug 4 12:37:40 eule kernel: Sound error: Couldn't allocate DMA buffer > > Unloading the sound kernel modules doesn't help either. No, that should make things worse. > I have no > idea what is causing this. Anyone seen this before? Look at the May 1999 archives for this list, with the subject Can't allocate DMA buffer (as opposed to Couldn't!) for a clearer explanation than I could give. 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: Magicfilter and printing (Epson stylus 400)
Quoting virtanen ([EMAIL PROTECTED]): > > When switching to slink I purchased a cheap Epson Stylus color 400 and > installed 'magicfilter'. > > As being new to 'magicfilter' it took some time to find out that I > have to run 'magicfilterconfig' to get it working at all. > > Now I managed to get the printer printing text-files perfectly just by > selecting the right device while configuring. > > What about printing ps-files and other kind of files? Should I write > myself ps-filter or how is done with 'magicfilter'? (The man page isn't > very clear and in the docs there is almost nothing about it.) Usually the postscript filter is the first or second item in /etc/magicfilter/foobar. Just make sure you've got, say, gs-aladdin installed and then try lpr some-ps-file.ps assuming it's on lp in /etc/printcap. 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: Insmod ppa errors
Quoting Wendell Buckner ([EMAIL PROTECTED]): > When I use Insmod ppa (to connect my zip 100 iomega drive via parrallel > port), I get the following error: > > ver 1.42 > probing port 03bc > probing port 0278 > 0 hosts > /lib/modules/2.0.36./scsi/ppa.0 device or resource busy > > Does any one have any ideas about this one? As it's not probing 378, you've probably already got something registered there, e.g. lp. Are you running a kernel old enough that it only supports *either* lp *or* ppa, but not both? Try lsmod to see what's there and rmmod lp insmod ppa to see if that works. More recent kernels with parport can handle a printer connected through the zip drive like dos can. 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: backing up a complete Debian GNU/Linux system
Quoting Gary L. Hennigan ([EMAIL PROTECTED]): > George Bonser <[EMAIL PROTECTED]> writes: > > On Tue, 3 Aug 1999, x x wrote: > > > > > Hi! > > > Could anyone tell me what's a good hardware/software > > > combination to use to make frequent FULL backups > > > of a Debian system > > > (operating system, "applications", and data). > > > I asked recently at a fairly large Linux group meeting, > > > and everyone seemed suprised by the question and there > > > were no good answers, which completely floored me... > > > how could anyone smart enough to use Linux not back > > > up their entire system RELIGIOUSLY? > > > > You do not backup the application binaries because you already have a > > backup ... either the CDROM you installed from OR the debian archive. I > > would never trust a backup of my binaries ... what if one of them has been > > replaced with a trojaned version? > > I guess I don't see the logic here. If one of the binaries on your > backup has a Trojan that, presumably, means that before you did the > backup you were running a system that had a Trojan. I would assume at > that point the damage has already been done. Logically, that doesn't follow. The trojan may not yet have been run. > Besides, assuming someone > slipped a Trojan onto your system in the first place, restoring all > your config files as they existed prior to the backup would allow them > to just log in and introduce it again. Again, logically, that doesn't follow. The trojan may have been installed before the config files were altered. For example, one might have decided to tighten up security in the wake of a break-in (detected or undetected) or simply changed the passwords. > The only chance I see of defeating a Trojan is detecting it and > defeating the method used to introduce it in the first place. Also, > the fact that such Trojans are so rare on Unix and Unix-like systems > would make it a minor concern for me. > > Anyway, it's standard practice in large installations to back up > practically everything for a level 0 backup, excluding things like > /tmp, /dev (sometimes) and /proc. There may be a historical reason for this. A large unix installation is likely to have gathered its software from all sorts of sources on all sorts of disparate media, and have put a lot of administrative sweat into compiling and installing it all. So it makes sense to backup the *result* of all that work. OTOH every file on this system I'm typing on is sitting on one jaz drive. The binaries and kernel-images are all in their .deb files; the rescue/drivers disks are as disk images together with base*.tgz; then there are all the configured /etc and /var files in zipfiles for possible restoration, and copies of /etc and /var plus a non-root recursive snapshot of /proc/[a-z]* for perusal. /home is split by user as there are so few. The very idea of all one's system software in a set of homogeneous .deb files is probably foreign to most unix administrators. 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: most: cannot display *.gz files
Quoting Stephan Engelke ([EMAIL PROTECTED]): > On Thu, Aug 05, 1999 at 08:15:53AM +, Walter Logeman wrote: > > > While we are on the subject, what I can't do is stop the file > > from scrolling past, is there a way to view them page by page? > > cat filename| more > zcat filename.gz | more > gzip -dc filename.gz | more (generic way, zcat usually is a link to gzip) > more filename > > If the pager "less" is installed, replace more with less if you like. > Less also comes with a "decompression"-mode. > > zless filename.gz > > zless, gzip and zcat also operate on files created by compress(1) (i.e. > ".Z"-files). You can use less filenames*.gz if you eval $(lesspipe) which has the advantage of your being able to navigate multiple files in the normal (less) manner, which zless doesn't support. 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: Magicfilter and printing (Epson stylus 400)
Quoting virtanen ([EMAIL PROTECTED]): > It was exactly what I tried first. But I first configured the printer to > do 720dpi. It worked printing text-files but when trying ps it started > printing garbage. I configured it yesterday night to print 360dpi and now > it works. Just by using lpr ps-file.ps. > > Even printed one photo out of Staroffice photocollection just to see... > > Someone out there knows, if this is exactly how it should be? > Stylus color 400 cannot do 720dpi with slink system at all? I think you may need to read the sections on stylus and uniprint in /usr/doc/gs-aladdin/Devices.htm and then fine tune your filter. I had to do this for both a bog-standard epson 9pin to get quality output, and for the HP 895 colour inkjet to prevent drowning (but not increasing the resolution). 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: ppp fails "LCP: timeout sending Config-Requests"
Quoting Not Again ([EMAIL PROTECTED]): > For the first time I'm having difficulty establishing Linux > ppp connections, with a recently opened ISP account. > pppconfig has done well enough on my numerous previous > setups, with only an occasional script tweak, that I've > never had to debug Linux ppp connections before. If I keep > trying (without changing my config) I eventually get a good > connection, ~1 in 4 times. > > kernel 2.0.36 pppd version 2.3 patch level 5 > (I have also tried kernel 2.2.10 pppd 2.3.8; in that case, > only ~1 in 10 attempts is successful.) > > > Aug 4 06:57:15 cy4 pppd[180]: Serial connection established. > Aug 4 06:57:16 cy4 pppd[180]: Using interface ppp0 > Aug 4 06:57:16 cy4 pppd[180]: Connect: ppp0 <--> /dev/modem It may be unrelated, but I would get rid of that link^ and use the name of the device itself, otherwise you could run into device-locking problems. > Aug 4 06:57:16 cy4 pppd[180]: sent [LCP ConfReq id=0x1 0x8879ba70> ] > Aug 4 06:57:43 cy4 last message repeated 9 times > Aug 4 06:57:46 cy4 pppd[180]: LCP: timeout sending Config-Requests > Aug 4 06:57:46 cy4 pppd[180]: Connection terminated. > Aug 4 06:57:47 cy4 pppd[180]: Exit. Perhaps PPP is only starting up occasionally at the other end. Do you have to issue a ppp command in the chatscript, or should they start sending you PPP automatically? Have you checked this by running the chatscript by hand yourself using minicom? (PPP looks like garbage full of braces {{{.) 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: starting ppp on host end
On Tue, 11 Aug 1998, Richard E. Hawkins Esq. wrote: > jens wrote, > > Richard E. Hawkins Esq. wrote: > > > huh? This is an 8 bit clean connection. so how to i test it myself to > > > have something to show the telecommunications folks? Or could my modem > > > be sending 7 bits? It's a compaq pcmia modem in an ibm thinkpad. > > > any help would be appreciated. > > Most likely the problem is simply that ppp hasn't started--the shell > > is probably just > > echoing back the LCP config requests. Try going through the chat > >procedure by hand and see if you get PPP packets after you > >ultimately login to the Linux box. > oh :) I thought that the script started it at the other end :) > OK, for the really dumb question: how do I start ppp on the other end on a > debian box? it seems to be with pppd to start the daemon, but I'm having > trouble figuring out the man & doc pages. I've figured out to insert > the ppp & shlc modules on the host, but I'm not clear on what else to do. > When I type pppd when logged in manually, I just get a bunch of nonsense > characters. I think someone should file a bug report against pppd because it really ought to be able to distinguish "no data at all" from "no data with top bit set", which it doesn't. So the error message only confuses people. If you're connecting to an ISP, you may have to send "ppp" in response to a prompt, but that shouldn't be necessary when dialling into a Debian box if you're running mgetty, because of the line that starts /AutoPPP/ ... in /etc/mgetty/login.config As soon as mgetty receives LCP stuff, it starts PPP. If the "nonsense characters" contain plenitudinous {{{ characters, LCP stuff is what you're seeing. 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: nasty...
On Tue, 11 Aug 1998, Christopher Barry wrote: > Yes, but it won't create past /dev/sd15. The last time I installed > Debian I had put 16 partitions on my brand new 9.1GB SCSI disk and then > found I only had sda devices numbered up to 15. I read the manpage for > /dev/MAKEDEV and found it pretty useless as well for this problem. They > really should tell you how to do things like this, or at least have a > more intuitive way (i.e. /dev/MAKEDEV /dev/sda16). Heh heh, some very > interesting things happen when you try cp on a disk device (after trying > everything else I tried copying sda15 to sda16 thinking it would just > copy the tiny little file... very strange what starts to happen). > > Fortunately though it's not life-or-death that I have 16 partitions so I > was able to just cfdisk 1 away and move on. It may help clear things up if you look at the output from ls -l /dev/sda16 /dev/sdb brw-rw 1 root disk 8, 16 May 28 1997 /dev/sda16 brw-rw 1 root disk 8, 16 May 28 1997 /dev/sdb 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: nasty...
On Thu, 13 Aug 1998, Hamish Moffatt wrote: > On Wed, Aug 12, 1998 at 04:12:45PM +0200, [EMAIL PROTECTED] wrote: > > On Tue, 11 Aug 1998, Hamish Moffatt wrote: > > > > > I just removed some of the old buzz/rex packages, base, timezone, bdflush. > > > I did it in dselect, and apt quite happily obliged. > > > > Aargh! you removed base? You might be in for some trouble. Try to > > run dpkg -i base-files.deb before you reboot. That will put some of the > > vital files back I hope. > > It doesn't. base-files does not contain ANY devices. I am a bit surprised > at how many of the files in the base.tgz file are not owned by any package > after installation -- I think this is bad. Not even the kernel belongs > to any package after initial installation. > > > These issues have been discussed some months ago (esp. w.r.t. base,) but > > some people think that it is Supreme Evil to munge with files in > > /var/lib/dpkg/info (that's what you need to do to get rid of "base" > > safely.) IMHO having your system flushed is far worse. In the case of > > timezone{,s}, I don't know exactly where the problem lies. You should > > file a bugreport. > > Surely SOMETHING could be done to prevent removing base from trashing > the system. base-files should own the same set of files anyway I should > think; I can't see why it wouldn't provide the devices. You're going so far back (buzz) that memory is hazy but IIRC buzz had base, and base had devices, and if you purged base, all your devices disappeared. I think Bruce or some other god put together a posting which showed exactly what to do. (I think you just deleted some of the lines in /var/lib/dpkg/info/base.list first.) This was because of the number of postings from people who wanted to purge base because it was listed as obsolete (very untidy). Oh, and the reason base showed at all was because base-files was introduced (presumably in rex) instead of base. And base-files *didn't* have device files in base-files.list, probably for that very reason, that purging it would remove them! No /dev files now (bo) appear in *list. I think that answers all the points raised, except perhaps to say that it isn't in the spirit of unix/linux to prevent you (as root) from trashing the system if you really want to. 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: Nuking damned scrambled consoles.
On Thu, 13 Aug 1998, Hank Fay wrote: > Well nothing seems to get rid of the little critters except shutdown. I > had to switch to another VC this time, because something unknown was going > on in the first one. It seems to be getting stuck in a different video > mode. Well you could also try typing setfont default8x16 This is the only thing that would sort out an old Avance card that I have when i exitted from X to a VC. But I'm not optimistic, as my problem affected *all* VCs. Rather than rebooting, have you tried just killing the relevant VC from another one? Cheers, > > well, it helped jumble up the funny critters. The only thing that > > works so far is shutdown > > > > > > Every now and then I do a little goof-up that scrambles a virtual > > > console and I'm sure we all do sometimes but lately I've been doing a > > > little programming and if I accidentally gib a string argument then it > > > corrupts the console every single time so I quickly run out of all 6 > > > consoles and am forced to reboot. > > > > > The way that I get ride of a scrambled console. > > 1. Try typing "reset" > > 2. Try typing "clear" > > 3. Try running "top" This always seems to work. don't know why but it > > does. > > > Try vo -- 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: X11TransSocketINETConnect: Can't connect
On Mon, 24 Aug 1998 [EMAIL PROTECTED] wrote: > According to Hamish Moffatt: > > > > On Sun, Aug 23, 1998 at 07:36:13PM +0200, [EMAIL PROTECTED] wrote: > > > I had a perfectly working X environment. After a routinely e2fsck > > > (done by the boot scripts) with a few error reports for my root partition > > > (/usr, /var/ home are separate), I get the following messages and X > > > then dies: > > > > > > _X11TransSocketINETConnect: Can't connect: errno = 111 > > > _X11TransSocketINETConnect: Can't connect: errno = 111 > > > _X11TransSocketINETConnect: Can't connect: errno = 111 > > > (... a very lot of them) > > > > > > I re-installed xbase and the xserver - no success. > > > Anybody has a clue? Where to find the error message? > > > What to do? > > > > Hmmm. What are the permissions on /tmp? Should be drwxrwxrwxt; if > > not, this can break it. It could be anything, but this is one I know can be > > a problem. In the Debian 1.1 & 1.2 days I would find the permissions > > on /tmp were reset regularly but fortunately this has not > > happened in 1.3 or 2.0! > > Thank you for you reply. /tmp is just a link to /arch/tmp/ (/arch is my > local Debian mirror) and the permissions are just as you told above. > > It's really strange (BTW, accidentally I have just replaced my K5-PR166 > by a K6-233 - but I can't believe that to be a reason for error. I have > a W95 partition (which I really only use to just test wine ;-) and there > seem to be no hardware problems with the Hercules Terminator graphics card.) > > Anybody knows where to find the error messages? Error 111 is just a socket error: Connection refused. I get them in my own software if I run a client that connects to a socket before I run the server that creates the socket. See ECONNREFUSED in the man page for connect(2). Wrong permission for /tmp is a very likely candidate for X problems as X revolves around /tmp/.X11-unix/X0 which is a socket. But there are plenty of other errors that will result in the same symptom, 111. I run startx as a bash function: function startx { echo Starting X /usr/bin/X11/startx 2> ~/.startx.stderr } which has the great advantage that you can study .startx.stderr at your leisure. Typically the real error message precedes the 111 error in that file, and sod's law dictates that the former will have scrolled off the screen. 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: wfwg 3.11 trashed my partition table
On Mon, 24 Aug 1998, Richard E. Hawkins Esq. wrote: > Brian wrote, > > > *- Richard E. Hawkins Esq. wrote about "wfwg 3.11 trashed my partition table" > > > | thanks, bill. > > > | I tried to install windows for workgroups from diskette on my thinkpad, on the > > | existing dos partition. > > > | regardless of what it put on /dev/hda2, it trashed my partition tables. > > > | If I reenter the same valued for the partititons, will my e2fs partition > > | survive? or do I have to reinstall. > > > See if http://slashdot.org/askslashdot/980823/1311207.shtml > > provides any help. The topic of this discussion is "Corrupted Hard Drive". > > thanks; this helped greadly. The answer is, "yes", if you remember the partition information, for the e2fs file system. THe dos fat sectors didn't seem to make it, though :( But i only tried this on the harrd drive, not the zip; i'm still waiting for an answer there > 1) Can you please not write paragraphs all on one line. Your composer might be wrapping the text for your eyes, but it's not wrapping it for the rest of us. 2) "regardless of what it put on /dev/hda2". Is that why your dos fat sectors didn't make it? 3) AIUI zip disks are partitioned just like ordinary ones, with one exception: they are supplied with a single partition, but it's partition number 4. You should be able to recreate this effect with fdisk, though not with cfdisk. 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: PPP via Minicom
On Thu, 27 Aug 1998, David Densmore wrote: > I just installed Debian 2.0. > > Under 1.3.1 I could initiate a PPP connection by dialing and logging in > with Minicom, quitting Minicom without resetting the modem and invoking > pppd manually like this: > > /usr/sbin/pppd defaultroute /dev/ttyS0 38400 & Unless this have been changed gratuitously, put the parameters to pppd in the right order: serial-line, speed, options. If that doesn't change anything, posting the logs would certainly help. 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: Disabling virtual desktops in X
On Fri, 28 Aug 1998, LUK ShunTim wrote: > Thanks. I got it. This is what I observed. > > I change the "Display" subsection of my XF86Config to this: > > Subsection "Display" > Depth 8 > Modes "1024x768" "800x600" "640x480" > Virtual 1024 768 > ViewPort 0 0 > EndSubsection > A frequent reason for the type of question you originally asked is when you have the modes in ascending order. X starts with the first (now lowest) mode, and newbies may not know about C-A-+. > I got desktop = screen (that's what I want) as I start up X but when I > change to a lower resolution mode by ++ I have a > desktop larger than my screen. I found out that while Modes can accept > several arguments, Virtual can only accept one pair. I've tried several > "Display" subsections but then I can no longer use > ++ to change resolution. What would you expect to see? If the desktop shrank, all the applications would have to be repainted on the smaller piece of real estate. As it is, nothing on the desktop changes, not even the pointer position (though the server has to choose the visible subsection in such a way that the pointer remains on-screen). > So we can't have the best of both worlds. [...] Yes you can. You just treat the size of your desktop like the colour depth, and run an X server for each kind. (There's a package to allow one to cut and paste between different server instances.) 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: which log to diagnose crash
On Thu, 27 Aug 1998, Richard E. Hawkins Esq. wrote: > my bosses machine crashed this mornging, leaving his Xsession frozen, > and no kernel panic message. > > Which log do I look in for this, or does a kernel panic get logged? > how do i figure out what happened? When X freezes, there's no a priori reason why anything should be logged. The rest of the machine should be running normally, and the best course of action is to telnet in through the network or a serial line and kill the X session (using startx it'll be an xinit process). On the other hand, kernel panics are different and may or may not be logged, depending on whether it's safe. It will normally tell you if the disks have not been synced (though I've only witnessed that on a VC, not in X), in which case you might as well cycle the power. 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: Disabling virtual desktops in X
On Sat, 29 Aug 1998, LUK ShunTim wrote: > > Yes you can. You just treat the size of your desktop like the colour > > depth, and run an X server for each kind. (There's a package to allow > > one to cut and paste between different server instances.) > > > > Where can I get it to have a try? The package is propsel. (I searched Packages for 'paste'.) 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: Linux console bug(s) (?)
On Sat, 29 Aug 1998, Zini Enrico wrote: > [...] > And, while I'm here, is it normal that scrolling back (pressing PageUp) in > less is much slower than scrolling up? It even quite annoying... I've only noticed that when you're displaying a binary file of substantial size, and have assumed it's to do with computing where the previous page should start in a file with enormous line lengths. 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: Installing and configuring Emacs20
On 30 Aug 1998, Ruud de Bruin wrote: > I've installed the initial six diskettes from Debian 2.0 on my PC. After > reboot I choose for a "home user" setup and via dselect I picked up all > the files from ftp.cistron.nl, a Debian mirror site. > > I am having problems with the emacs20 package. During configuration, I > receive an error message in some kind of installation script in emacs20. > Is this a known problem? I tried again after all packages were installed > and configured, but the problem remains in emacs20. Yes, I had that problem when I selected several profiles (or whatever) to get lots of packages ftp'd to my jaz drive. It went away when I cut back. This is absolute hearsay, but I read here that tm might be the cause of the problem. So try purging it, install emacs20, then reinstall tm (if you need it). If it's not that, look at any packages that fiddle with lisp or emacs directories, e.g. /etc/emacs20/... 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: kernel package
On Mon, 31 Aug 1998, Ed Cogburn wrote: > Kenneth Scharf wrote: > > > > When I installed debian 2.0 from CD I was asked what modules I wanted > > configured into the kernel. These modules are called out in > > /etc/modules. I have rebuilt the kernel using the kernel package > > utility. This created a debian kernel-image package which I > > installed, thus upgrading my kernel. (neat!) It seems to have done > > everything, except modify the /etc/modules file. Is there a utility > > that modifies this file to reflect the modules built with the new > > kernel, or do I have to do this by hand? (I added module support for > > java, minux, etc). > > > 'depmod -a' does this. IIRC, the make-kpg should do this > though...hmmm. AIUI that takes care of /lib/modules/`uname -r`/modules.dep and you have to take care of /etc/modules yourself. I always forget to prune /etc/modules when I change over from the installation kernel to my first own-built one, so I get lots of 'not found' messages because I never forget to mv the old /lib/modules tree. Strange... But you can't automate writing /etc/modules. Only you know whether you want to run kerneld (auto), whether certain modules should always be loaded (3c509, sound), attempted (ppa) or loaded on demand (lp). (Some of my choices.) 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: Gateway monitors and X
On Wed, 9 Sep 1998, Brian Sheehan wrote: > i would be glad to hear from people who have gotten (or not) X running > with a gateway monitor (in particular an EV700) Unlike Viglen's Envy 17ES, it's unable to perform adequately at 1280x1024, managing only 60Hz which is really flickery. 1152x864 is just about adequate at 70Hz. In this respect, I guess it's comparable with the Envy 17DS which is all Viglen now supply at this size. But my wife uses one; here's a summary of XF86Config: Section "Monitor" Identifier "EV700" VendorName "Gateway" ModelName "EV700" HorizSync 31.5 - 64.3 VertRefresh 50-90 # then some standard mode timings which could be pruned further # 640x480 @ 72 Hz, 36.5 kHz hsync Modeline "640x480" 31.5 640 680 720 864 480 488 491 521 # 640x480 @ 75 Hz, 37.50 kHz hsync Modeline "640x480" 31.5 640 656 720 840 480 481 484 500 -HSync -VSync # 800x600 @ 60 Hz, 37.8 kHz hsync Modeline "800x600" 40 800 840 968 1056 600 601 605 628 +hsync +vsync # 640x480 @ 85 Hz, 43.27 kHz hsync Modeline "640x400" 36 640 696 752 832 480 481 484 509 -HSync -VSync # 800x600 @ 72 Hz, 48.0 kHz hsync Modeline "800x600" 50 800 856 976 1040 600 637 643 666 +hsync +vsync # 1024x768 @ 60 Hz, 48.4 kHz hsync Modeline "1024x768"651024 1032 1176 1344 768 771 777 806 -hsync -vsync # 1152x864 @ 60 Hz, 53.5 kHz hsync Modeline "1152x864"89.9 1152 1216 1472 1680 864 868 876 892 -HSync -VSync # 800x600 @ 85 Hz, 55.84 kHz hsync Modeline "800x600" 60.75 800 864 928 1088 600 616 621 657 -HSync -VSync # 1024x768 @ 70 Hz, 56.5 kHz hsync Modeline "1024x768"751024 1048 1184 1328 768 771 777 806 -hsync -vsync # 1024x768 @ 76 Hz, 62.5 kHz hsync Modeline "1024x768"851024 1032 1152 1360 768 784 787 823 # 1152x864 @ 70 Hz, 62.4 kHz hsync Modeline "1152x864"921152 1208 1368 1474 864 865 875 895 # 1280x1024 @ 61 Hz, 64.2 kHz hsync Modeline "1280x1024" 1101280 1328 1512 1712 1024 1025 1028 1054 EndSection Section "Device" Identifier "My Mach64" VendorName "ATI" BoardName "Mach64" Option "power_saver" EndSection Section "Screen" Driver "accel" Device "My Mach64" Monitor "EV700" #Monitor "ENVY 17ES" Subsection "Display" Depth 8 Modes "1152x864" "1024x768" # Modes "1280x1024" "1152x864" "1024x768" ViewPort0 0 EndSubsection # Remember that SuspendTime will cut out the loudspeakers too BlankTime 5 SuspendTime 30 # OffTime 60 EndSection 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: Install can't make boot disk
On Thu, 10 Sep 1998, Richard Heller wrote: > Hi, Hi. Can you shorten your lines please. > > I get to the point in the Debian install where it asks to make a boot floppy. Everything else seems to be ok, but it keeps > giving me errors when trying to create the boot disk. I'm not sure what the error is and I know the floppy is good because I > just formatted it under Win98 and can create files on it. What would cause the Debian install to not be able to create > a boot floppy? Well, these symptoms are consistent with the problem I had (and knew I would have) on a new machine. Just check that it is a floppy drive and not an LS120 superfloppy drive. This assumes, of course, that you didn't use the 7-floppy method of installation as that wouldn't have worked either. (I installed root2_0.tgz from a zip drive.) If you have DOS on any mountable disk, you can copy the kernel to there from /boot, rdev it, and then copy it onto a duplicate rescue disk in DOS. Then you need to build your own kernel with LS120 support. OTOH if that's not the problem, sorry... 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: Getting startx to run
On Sun, 13 Sep 1998, David S. Jackson wrote: > Thus spake David S. Jackson ([EMAIL PROTECTED]): > > > I seem to be having the same problem as you are with my new 2.0 > > distrib. I know it's not too fruitful to receive another "I have that > > problem too" response, but perhaps we could colaborate until someone > > with a definite fix answers on the list. > > It turns out that my problem was that my /etc/X11/Xserver file was > pointing to the wrong Xserver! That fixed it for me. Evidently, this > file doesn't get created dynamically I guess. I had to edit it by > hand. :-) You shouldn't have to. When an xserver is installed, you should be asked: echo -n "No default X server previously set, or previous default has been " echo "removed." echo -n "Do you want to make the $xserver X server the default? (y/n) [y] " default=y when no xserver was present, or: echo "Current default X server $oldxserver found." echo -n "Do you want to make $xserver the default instead? (y/n) [n] " default=n I guess it's easy to get caught out by the default "no" in the latter case if the reason you're installing another xserver is because your first selection was wrong. (Or if you were to select several xservers at the same time because you weren't sure which you needed.) 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: Gateway monitors and X
On 10 Sep 1998, Joachim Trinkwitz wrote: > Brian Sheehan <[EMAIL PROTECTED]> writes: > > > i would be glad to hear from people who have gotten (or not) X running > > with a gateway monitor (in particular an EV700) > > > Have you tried the Linux Monitor Data Base > (http://cande.dyn.ml.org/monitors/)? I think I ought to enquire where LMD got their figures from, who checks them, and why they don't have some sort of disclaimer on the web page in case people use their figures without thinking. Fortunately, I think the EV700 protects itself from abuse, but many older monitors will fry themselves trying to synchronise to an out-of-spec signal. I can only think that the person entering the figures didn't read the prompts/headings. 120kHz indeed... >From the book (Gateway part # 3828TUO001T) H= 30-69kHz, V= 50-110Hz. (My own settings erred on the conservative side, Brian.) 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: Iomega Zip
On Mon, 21 Sep 1998, Adrian Bridgett wrote: > On Sun, Sep 20, 1998 at 11:39:48PM -0500, dsb3 wrote: > > [...] > > > > Unless my memory fails me, I've formatted a zip disk in ext2 complete with > > swap partition and installed linux. I did this at the beginning of the > > year when I had access to a zip drive - I still have the disk but alas > > don't have a drive so can't verify exactly whats on there... > > > > Anyway, the point of what I want to say is this. Why bother with ext2 on > > a zip disk. You're most likely going to use it to move files between > > computer 1 and computer 2. Possibly to take files from computer 1 and > > archive them offline someplace. Why do you need ext2? > > Long file names, permissions, its far faster (linux much prefers ext2 to any > other format). Besides, I like showing the limitations of windows machines > "I can read your disk but you can't read mine" - improved security I guess > :-) Well thank goodness somebody sorted the low/high level formatting argument. I do use ext2 for my jaz disks, as I believe it's a more reliable filesystem, and that becomes increasingly important for large disks. But I don't bother with anything but FAT16 for floppies and zips (used through the parallel port). However, I get long filenames, permissions etc. How? Well everything is zipped up in zipfiles. (That's infozip zip, not iomega zip, of course.) The great advantage is that you can view or unzip any file on anybody's PC, particularly if you make sure there's a copy of unzip512.exe on every disk. 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: list of kernel error codes
On Wed, 29 Apr 1998, Oliver Elphick wrote: > poppy wrote: > > > >While booting my debian 1.31 box with kernel > >2.0.33, I see a failure to initialize my > >ethernet card with an error code 2 > > > >Where can I find a translation of the > >error codes or does anyone know what an error > >number 2 is??? > > /usr/include/asm/errno.h and /usr/include/linux/errno.h > > #define ENOENT 2 /* No such file or directory */ I think that answers the question in the title but not the real question. I would have a look at the source code of the driver being used, and look for the textual part of the error message. That will give you more of an idea what's failing. Just as an example, if you insmod ppa (the zip-drive parallel port driver) while there's no zip-drive plugged in, you get (by coincidence): PPA: unable to initialise controller at 0x378, error 2 /lib/modules/2.0.29/scsi/ppa.o: init_module: Device or resource busy The driver source code reveals that ppa_init returns: The return value from this function is just a hint about where the handshaking failed. and the error code (here 2) increases by one after each out_p() call. The "kernel" error code (here #define EBUSY 16 /* Device or resource busy */) just muddies things. 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. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: X crashes when switched from console w/ mouse event
On Sun, 10 May 1998, Adam Keys wrote: > Kiyan Azarbar wrote: > > > > Hi. I was wondering if anyone else had had this problem. It seems > > really major. If I'm in console mode, then switch back to X with > > alt-f7, and then move the mouse in anticipation of X showing up, it > > very often crashes X. The whole thing just comes down and xdm > > restarts. > > > > I don't know how else to explain it, but I've only had these problems > > since I upgraded to hamm. I'm running the SVGA server since I have a > > Mystique. It's very disconcerting... sometimes I just lose everything. > > This has happeneded to me for ever with both bo and hamm. I think it is > either a 'feature' of X or is just something that happens. Your best > bet is to use more xterms/rxvt's and switch to the console less. Other > than that, maybe submit a bug to the xfree86 and X Consortium people and > cross your fingers. Have you tried running the mouse with gpm, using -R, and then setting XF86Config to get its mouse data from /dev/gpmdata in MouseSystems protocol? 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. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: backup superblocks/bad drive
On Wed, 13 May 1998, Bob Hilliard wrote: > Stephen Carpenter <[EMAIL PROTECTED]> asks: > > hmm..is tehre a way to get that info from a working drive? I > > would like to dump it to a text file and throw it on a rescue disk > > There is a program /sbin/findsuper in the e2fsprogs package that > sounds like it might be what you want. Unfortunately it doesn't have > either man page or info file (except the standard default saying there > isn't one). findsuper --help and findsuper -h yield nothing helpful. > I can't find a reference to findsuper in /usr/doc/e2fsprogs. > > However, findsuper produces a list of superblocks. It > works whether the file system is mounted or not. I've found dumpe2fs more useful (in the same package). 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. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Installing Debian from WindowsNT Pt. 2
On Fri, 15 May 1998 [EMAIL PROTECTED] wrote: > > Simple :) > >second hard drive..is it a slave on the first IDE controller or > >a master on the second? > > The IDE controller is built-into the riser card from the motherboard with > two sockets for separate IDE cables for the hard drive, I assume this is > then considered to be hdb? No, hdb is a slave on the first cable (using the other connector on the ribbon (though there exist ribbons with only two connectors which you can't use a slave on). hdc is the master on the second interface/connector/cable. Note that changing a disk from a master to a slave or back can involve moving a jumper (on the bottom of the diskdrive). > besides, the second hard drive is already formatted and installed with DOS > and Windows3.51 for workgroups. I don't necessarily need to keep windows, > but would like to keep DOS for use with DJGPP, a 32 bit DOS port of GCC > from UNIX, also part of the GNU software field. You can use this to your advantage if you can boot it in a machine on the network, or connect it as a second disk in such a machine. Download the debian files into the dos partition with their msdos filenames. Then move the disk to the linux machine and mount it there. You need to look carefully at the docs for how to use msdos filenames as I've never done it and can't advise. You say W3.51 - do you mean NT? I don't know whether installation kernels can mount NT partitions so it might be safer to just use the DOS partition unless you try it and it works, of course. > I tried mounting anyway with; > mount /dev/hdb1 /dos > and I get; > mount: /dev/hdb1 is not a valid block device 1) Try hdbN or hdcN as above. 2) You probably don't have a /dos mountpoint, but you should have /mnt 3) You need to tell mount the filesystem type: mount -r -t msdos /dev/hdX1 /mnt 4) I popped in -r which makes it readonly so you can't accidently write to it while you're gaining confidence. > I think the basic problem is the when I installed Linux there was only 1 > hard drive and I formatted that in the installation. I think something in a > config file somewhere is telling Linux there is only one hard drive. Well, yes, during installation it's possible to build a system over several disks and it will write the entries in /etc/fstab for you... > If I > have to, I could re-install Linux to recognise the second hard drive, but that's totally unnecessary. You can mount disks by hand at any time, make it more convenient (less typing) by adding noauto entries in /etc/fstab, or have them mounted automatically by not specifying noauto. It's windoze which needs constantly rebooting and even reinstalling. Hope this helps, -- 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. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: dselect removed everything
On Sat, 16 May 1998, Hamish Moffatt wrote: > Tonight I was upgrading a buzz machine to bo. I first mounted > the CD and run "dpkg -iGROBE *" which was ok except that of course > it didn't install new packages like base-files/base-passwd to replace > base, or the deps etc. So after that I ran dselect, went through > all the steps, and when I got to remove, it started to remove almost > everything! All the standard packages, all the essential packages etc. > This really hosed the system. Why would it do this? It did it on another > machine once too. > > I just reinstalled it with bo, since it was only a test machine anyway. A buzz -> bo upgrade requires you to upgrade dpkg first. The sequence is dpkg --clear-available dpkg -i ldso_*.deb dpkg -i libc5_*.deb dpkg -i dpkg_*.deb dpkg-ftp_*.deb dpkg --purge --force-depends texbin I guess most of us have virtually forgotten all that stuff as we upgraded so long ago. 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. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: URGENT how to change your domain name
On Sat, 16 May 1998, Hamish Moffatt wrote: > On Fri, May 15, 1998 at 03:47:56PM +0100, Joop Stakenborg wrote: > > > how can you change your domain name after the installation > > > > > > > It is in /etc/resolv.conf: > > > > example: > > > > domain debian.org > > Actually it is in a few dozen places. it is in your MTA config > eg /etc/smail/config, it is in your news server probably if you have > one, and other places as well. Yes, grep is your friend; something like cd /etc rgrep -r open.ac.uk * using my domain. If the IP number changes too, then there are a few extra places like /etc/init.d/network, but you can use rgrep to find them too. 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. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Boot problem after installation (and a cfdisk query)
On Wed, 27 May 1998, Hamish Moffatt wrote: > On Tue, May 26, 1998 at 02:56:13PM -0400, Norbert Veber wrote: > > On Tue, May 26, 1998 at 08:27:09PM +0200, Tomas Petersson wrote: > > > Hello, I have just installed Debian Linux, everything > > > went fine except I can't boot from the harddrive. > > > If I boot from the 'Custom Boot Floppy' it works, > > > but when I boot the harddrive I get the following > > > prompt: '2FA:', and nothing happens. > >=20 > > I had the same problem, the error is in /etc/lilo.conf, the problem is th= > at > > the installation program puts (for my system): > > boot=3D/dev/hda5 > > root=3D/dev/hda5 > >=20 > > change this to: > > boot=3D/dev/hda > > root=3D/dev/hda5 > > That is the wrong solution to the problem. Something is probably wrong > with lilo.conf, or the wrong partition is marked active, but changing > lilo.conf isn't the best solution. While I am sure you're right, I also have one system in this state. I have two essentially identical systems: same noname mobo, bought at the same time, both upgraded with 1GB Samsung disks. I've run the dos ATA disk diagnostic program "ataprobe v1.0 (c)1995,96 by PAP den Haan" (from Simtel archives) and the diffs are: @@ -102,7 +101,7 @@ protocol version: ATA-2 capabilities: LBA IORDY model : SAMSUNG TBR-31081A (1080MB) CF103 -serial number : 671523331026 +serial number : 671523531021 firmware: CF103 pio modes : 0 1 2 3 4 pio timing : 120 ns (16.67MB/s) with iordy, 120 ns (16.67MB/s) without @@ -111,7 +110,7 @@ drive geometry : 2093/16/63 default (1080 MB), currently 2093/16/63 LBA capacity: 2109744 sectors (1080 MB) buffer size : 251KB -block mode : 16 sectors/interrupt max +block mode : 16 sectors/interrupt max, currently 16 identify sector : [...] 57: 3130 0020 current capacity = 2109744 sectors - 59: current r/w multiple = (undefined) + 59: 0110 current r/w multiple = 16 sectors/block 60: 3130 0020 total capacity = 2109744 sectors I installed the Debian systems using the same sets of boot disks, and whereas the first (- in the diffs above) worked, the other didn't: I think I got the 2FA: prompt. They both have 4 primary partitions: swap, /, /usr and /{wasp,wolf} which holds /tmp, /var and /home. Here's wasp's /etc/lilo.conf: boot=/dev/hda2 root=/dev/hda2 compact install=/boot/boot.b map=/boot/map vga=normal delay=20 image=/vmlinuz label=Linux read-only wolf has "linear" before the compact line, and has no "2" on the boot line. Another difference on booting is that whereas wasp says: Partition check: hda: hda1 hda2 hda3 hda4 wolf says: Partition check: hda: [PTBL] [523/64/63] hda1 hda2 hda3 hda4 AFAIK wasp has its original dos MBR, and partition 2 is active. wolf also has partition 2 active, and I have booted it off a dos floppy and typed "FDISK /MBR" but this makes it unbootable: Missing operating system The same symptom occurs if I run lilo with boot=/dev/hda2 without linear, or with linear, but normality is restored when I delete the "2". I assume this last step undoes "fdisk /mbr". Now the only remaining clue: the hard disk in wolf has previously seen temporary dos service in a more modern computer that had things like LBA which I think it used (not that the full GB of disk became available in dos). But the disk has been completely departitioned and repartitioned since then, inside the wolf hardware. Do you know where a change like this (lba) could have been preserved on the disk? Here's my cfdisk query that /could/ be related: I have a system containing two identical Fujitsu disks (M1952E-512). C: is W95 as pre-installed; sdb contains linux, but was delivered as a single empty W95 partition. Here's what happened when I scrubbed it: /dev/sdb 73heads 63sectors 1020cylinders cyl sectors MB /dev/sdb1 Primary Win95 FAT32 (0B) 1020 4690980 2290.52 /dev/sdb 74heads 62sectors 1022cylinders cyl sectors MB 1022 4688936 2289.52 Why did it do that? 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. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ipforward'ing on in kernel?
On Fri, 29 May 1998, Gregory Guthrie wrote: > [Since I got no answer last time, I am trying again on this query] > > The basic question is: is IP-forwarding on in the default kernel, and how > does one tell, or does one have to build a custom kernel to do routing? > -- In gereral, how does one tell if a feature is on in a kernel? No it isn't. You need a custom kernel. IMHO everybody needs a custom kernel. The installation ones are bogged down by drivers required to support every known boot device. And you look in .config, if it's been kept. > > Details: > We want to setup a local simple router-pair, to create a LAN-remote subnet > segment. > > 1) To support this, we need routing enabled in the kernel. Does the default > kernel on the 1.3.1 CDROM have this enabled? I doubt it. > [...] > > 4) We also need PPP proxyarp, is it on by default (curious about the ARPD > not set). I don't think there's any connection. I think defaultroute and proxyarp are on in PPP by default, which leads to much mystification when people read messages about them in the logs in circumstances where they're not used. ppp is not built into bo installation kernels, but I guess it might be in more recent ones as I think that's now a supported method of installation. 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. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: pppd disconnects after authenticating
On Fri, 5 Jun 1998, Paul Miller wrote: > (I'm dialing from a win95 machine to my Linux box) > > Immediately after I authenticate (using PAP), pppd disconnects me and > windows just says to try connecting again... I looked through all the logs > for any kind of error or warning, but i didn't find anything -- even with > debug on. The last pppd line contains the correct login name and > password. Why is pppd disconnecting me? First, who is authenticating who? It's quite likely that the linux box is trying to get W95 to authenticate it. I have no idea how you would deal with that at the W95 end. Are you using mgetty to answer the call. I think it may have a default setting of +pap on the /AutoPPP/ line in /etc/mgetty/login.config which you might need to override with -pap or nothing. Lastly, pppd is rather matter of fact in its log files. It isn't an "error" when authentication fails; it's the Right Thing. So rather you should look for LCP packets with ConfRej in them. Here's an example from an old email I sent a while ago to someone else. Mar 26 19:10:43 sparky pppd[524]: sent [LCP ConfReq id=0x1 ] Mar 26 19:10:43 sparky pppd[524]: rcvd [LCP ConfReq id=0x1 ] it wants you to authenticate with pap Mar 26 19:10:43 sparky pppd[524]: sent [LCP ConfRej id=0x1 ] you refused ^^^ Mar 26 19:10:46 sparky pppd[524]: rcvd [LCP TermReq id=0x3] Mar 26 19:10:46 sparky pppd[524]: LCP terminated at peer's request 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. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Checking Ports? (fwd)
On Fri, 5 Jun 1998, Marcus Johnson wrote: > -- Forwarded message -- > Date: Fri, 5 Jun 1998 12:50:21 -0700 (PDT) > From: Marcus Johnson <[EMAIL PROTECTED]> > To: John Hasler <[EMAIL PROTECTED]> > Subject: Re: Checking Ports? > > Sorry for my brevity and thank you for your answer. I meant ports as in > IP ports. I tried to start a server-type program but it exits and tells > me that port is already in use. This seems very odd to me because I > should be the only one using it. I suspect its still running another copy > of my server. How can I find out and if it is another instance of my > server how can I kill it? I run a very simple joystick server that writes its position to a port, say, 50005, so that (a) multiple clients can connect to the stick (b) I can run a fake server on machines without a stick and continue to test programs that need to read a stick. When I kill the server, I find I often can't restart it on that port, but can on, say, 50006. I'm guessing that some resource stays around until it's killed off, usually after less than a minute. I intend making my server pick the next free port, and likewise the clients will have to play chase the server. Meanwhile I don't worry. 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. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: A debian-user question.
On Tue, 9 Jun 1998, Karsten Bolding wrote: > For the GUI I'm thinking of either perl-tk or using the visual tcl > package - any opinions? The GUI will contain radio-buttons, > entry-fields, file-browser etc. to specify the different parameters for > the model. Don't choose either of these without at least first considering tk over python (www.python.org). Though one could run into religious wars comparing perl and python, I'm certainly happier modularising python than I was with perl, and tk seems to be well integrated. I'm in the early stages of a project with them myself. > My real question concerns a package that will do real time plotting of > the results of the turbulence modelling - this is simple X-Y graphs but > they evolve over time so I need to - at run time - update the graphs > based on the results of the turbulence calculations. Since I'm not at > all a X-programmer I would like something a bit more high-level. Couldn't disagree with another's mention of gnuplot. 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. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Multiple IP numbers, one for each Subnet
On Tue, 9 Jun 1998, Ian Stuart wrote: > I'm using a i386 portable with 2.0.34 installed. I have a requirement to > plug this machine into various subnets, depending on where I'm working > within my organisation. > > Is there a way to configure the system so that I can use > (a) 4 or 5 different gateways (only one of which will be reachable at one > time) and > (b) 4 or 5 IP numbers, only one of which will be valid at any one time? There are very few files that actually contain IP numbers, viz. /etc/resolv.conf, /etc/hosts, /etc/networks and /etc/init.d/network and the first of these would probably stay the same as we're talking subnets. So all you need is a few scripts hacked from the last, that delete the two (network and gateway) routes, ifconfig the new number, and add the two new routes. They could meanwhile overwrite the middle two files as well. ifconfig and route commands are totally dynamic; I don't think daemons etc. should hold onto any of this information. (I don't have a clue what reads /etc/networks though I suppose you could use it yourself to delete the appropriate -net route.) 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. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: 2.0.34
On Tue, 9 Jun 1998, Hamish Moffatt wrote: > bash-2.00# ifconfig eth0 203.14.18.1 netmask 255.255.255.128 broadcast > 203.14.18.127 > SIOCSIFNETMASK: Invalid argument > > It doesn't work on 2.0.32 either, I just discovered. > > > Thanks to everyone who has replied. Any other ideas? It's a long shot but what does the rest of what would be your /etc/init.d/network say? I only ask because you've played around with newer kernels which do things differently in this file. 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. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: user can delete kernel images (cont)
On Fri, 12 Jun 1998, Steve Mayer wrote: > I noticed this on my one remaining bo machine. Hamm seems to have > taken care of this bug. > > G. Kapetanios wrote: > > > > Following to my previous email I have to say some things. > > > > the /boot directory in my machine is > > > > drwxrwsr-x 2 root disk 2048 Jun 12 17:58 boot > > the user who can do that belongs to the disk group but the file which was > > deleted (/boot/vmlinuz.2.0.0) does not belong to the disk group it is > > root.root So obviously although I hadn;t realised that before if a group > > you belong to owns a directory which is writable by the group you can > > delete stuff from it without owning > > the files and without belonging to the group which owns the files. Is this > > safe ?? More importantly I don't know if this is a bug of the installation > > procedure about 1 1/2 years ago but the permission to /boot were set by > > that procedure and I never changed them. I know users should not probably > > belong to group disk but I could have damaged my system really bad if I > > had no spare kernels. I guess I must remove the user from the disk group > > as soon as possible. > > > > By the way why is /boot writable by the group disk? I don't know the "correct" permissions for /boot files, but in terms of security, protecting them from disk-group users will be quite ineffective: the disk group has write permission for raw disk devices. The point about who can delete files in a directory is of course covered in the FAQ under IIRC "I've discovered a HUGE security hole in rm!". 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. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: /etc/init.d/boot message?
On Fri, 19 Jun 1998, Mark Yobb wrote: > > I know how to use `dmesg` but I would really like to be able to get > the info that scrolls across my screen (on bootup) when /etc/init.d/boot is > executing. Is this message sent to a log file or something? How can I look > at this after booting? Simple. Just use shift page up and down. This works at any time, just so long as you don't switch consoles. 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. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: /etc/init.d/boot message?
On Fri, 19 Jun 1998, Ed Cogburn wrote: > David Wright wrote: > > > > On Fri, 19 Jun 1998, Mark Yobb wrote: > > > > > > I know how to use `dmesg` but I would really like to be able to > > > get > > > the info that scrolls across my screen (on bootup) when /etc/init.d/boot > > > is > > > executing. Is this message sent to a log file or something? How can I > > > look > > > at this after booting? > > > > Simple. Just use shift page up and down. This works at any time, just so > > long as you don't switch consoles. > > Parts of the boot up text can be found afterwords in /var/log/messages. Yes, while I agree that parts of the boot up messages can be found in various places in a more permanent form, the only place that has them /all/ in the exact /sequence/ is the console. If something goes wrong, it's worth looking here /first/ because it's the last chance you get. As soon as you look elsewhere, the complete console record has gone for ever (until you reboot). 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. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Moving from Ethernet to modem
On Fri, 26 Jun 1998, Ted Cabeen wrote: > When I set my system up on Debian, it was connected directly to an ethernet > link, so the entire system is set up to expect connections. Now, I've > had to move away from my direct connection and I need to close out all > of the systems that rely on that connection being there, like apache and > xntpd. Which standard programs should I be removing or shutting down? > Eventually, we're planning on setting up a system for ip masquerading and > on-demand ppp dialing by a gateway for the entire apartment, and I don't > want my machine starting or keeping that connection up too much. Thoughts? My machine at home is just a backup system from work which I need to be able to use at short notice. I have copies of /etc/init.d/network for home and work. The only substantial difference: GATEWAY= is hashed out at home. (Insubstantial difference: I have a 168 network alias to plug my wife's laptop into.) Obviously I leave a terminated T-piece in the NIC. I just ignore the occasional daemonic howls of protest. I raise ppp myself, rather than on demand, as I'm the only user. 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. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: /etc/init.d/boot message?
On 27 Jun 1998, Brederlow wrote: > [snip] > > > A bit more info would be nice. I for one would be quite happy just to > > have a record of what has been printed on the screen. > > Your right, the detailed messages would go to a logfile and maybe to a ^ > different console also. If I understand you, I think your priorities are wrong. The present situation is perfect: everything goes to the screen and can be seen if and when things go wrong*. It would be nice if this "everything" was available in one place elsewhere; but only nice. As it is, it's spread about (dmesg, messages etc.). (* I am aware of svga...'s clearing the screen and the "bug" in xdm that lets you loop in and out of X.) > On a normal startup nothing should fail and it looks much more > professional to have a nice menu the normal user can understand > instead of cryptic messages teling the experience that everything is > fine. Now I don't understand. Menu for what? And who's necessarily there to select from this menu? Perhaps we should go for a picture of clouds with "Debian 98" :-( No, the great thing about linux booting up is that you can see that it's working. Positive confirmation. You're not left wondering whether a lack of error messages means that it all worked, or that the error reporter itself isn't working. 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. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]