Advice fixing small LiLo slip-up
I'm installing Debian 1.2.5 for a friend, on an EIDE disk (pentium 166). When the kernel was installed and LiLo set up, I indicated that I would like to boot from /dev/hda2. This was done, and Linux boots fine from /dev/hda2. After the fact, I decided I wanted to be able to boot the windows partition on /dev/hda1. I (mistakenly) changed boot=/dev/hda2 to boot=/dev/hda1 and added a stanza: other = /dev/hda1 table = /dev/hda label = msdos I then rebooted, but (of course) after holding down the shift key, the only label visible was Linux. I assume that what I did was clobber the boot record on /dev/hda1, and the MBR sees only one active partition (/dev/hda2). I assume that what I need to do now is (1) use the "remove" option for lilo, which will restore the boot record to /dev/hda1, (2) use /sbin/activate to make /dev/hda1 an active partition, and (3) edit /etc/lilo.conf to set boot=/dev/hda2 and re-run lilo. If I'm understanding this correctly, the MBR will then chain to LiLo on /dev/hda2, which (if I hold down the shift key) will give me the choice of either Linux or msdos. Is this right? One part I'm not confident is marking partition /dev/hda1 as active. Is this necessary? Also, will it confuse the chaining from MBR? Thanks for all help. ---- Danny Heap, UCSF, California St., Room 102, SF CA, 94118 [EMAIL PROTECTED], voice: (415) 476-8910, fax: (415) 476-1508
tex problems
> > I spent yesterday installing Debian (dselect is very nice) and the > > only problem I have is that texbin doesn't install. I know that > > there have been bug reports sent to the bug list, but those reports > > don't give the solutions. So, the big question is: how do I fix this > > ("this" is the problem with the cmr9.tfm font not available, and thus > > texbin chokes -> latex chokes -> psnfss chokes)? Is it better to > > get TeTeX? > > > > Hi John, > > Basically, Debian has switched to tetex. The .deb packages for tetex are > in the ./bo/tex directory of ftp://ftp.debian.org/debian/ . Seems to > work quite well. I had the same problem. texbin needs mf, which is linked to libXt.so.6, and /etc/ld.so.conf is missing a couple of essential lines necessary for seeing libX5.so.6. Edit /etc/ld.so.conf to add /usr/X11R6/lib (I also added /usr/lib) and run "ldconfig" (both as root). You can then install texbin, etc, etc. I noticed libXt.so.6 was needed in the error messages from dpkg. I then checked what package provided that library (using dpkg -S), and then checked the status of that package (dpkg -s xbase, I think). This showed me where the library was, and that it was indeed installed. I then tried "ldd /usr/bin/mf" (since mf was mentioned in the original dpkg error) which showed that the library was not visible. This suggested looking at ld.so.conf, which was where the problem was. (For want of a nail the shoe was lost ...) Just an example of how round-about tracking down such a glitch can be. Danny Heap, UCSF, California St., Room 102, SF CA, 94118 [EMAIL PROTECTED], voice: (415) 476-8910, fax: (415) 476-1508
Several stand-alone boxes
We are in the process of setting up several stand-alone intel boxes running debian linux. Have other users come up with good solutions to the following: 1. Maintaining uniform installations without nfs-mounting a common filesystem. We'd rather have redundant /usr filesystems than have our machines freeze after each hiccup on the net. Is there a way to turn the output of "dpkg -l" into a useable script for reproducing one machine's setup on another? 2. Distributing important /etc files without NIS. We'd rather not run NIS, and figure on using rdist+DNS instead. Has anyone made this work with the "passwd" program, or even with shadow passwords? We think that for a relatively small network NIS introduces too much confusion (vis-a-vis DNS) to be worthwhile. ---- Danny Heap, UCSF, California St., Room 102, SF CA, 94118 [EMAIL PROTECTED], voice: (415) 476-8910, fax: (415) 476-1508 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
failure notice
Forwarded message: > From postmaster Mon Oct 7 16:20:35 1996 > Message-Id: <[EMAIL PROTECTED]> > Date: 7 Oct 1996 23:30:04 - > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: failure notice > > Hi. This is the qmail-send program at primer.i-connect.net. > I'm afraid I wasn't able to deliver your message to the following addresses. > This is a permanent error; I've given up. Sorry it didn't work out. > > <[EMAIL PROTECTED]>: > /home/Debian/bruce/Scripts/MailingListReceive: syntax error near unexpected > token `else' > /home/Debian/bruce/Scripts/MailingListReceive: > /home/Debian/bruce/Scripts/MailingListReceive: line 11: `else if [ -f > "${EXT%%-request}/dist" ]; then' > > --- Below this line is a copy of the message. > > Return-Path: <[EMAIL PROTECTED]> > Received: (qmail 24529 invoked from smtpd); 7 Oct 1996 23:30:02 - > Received: from cgl.ucsf.EDU (@128.218.27.20) > by master.debian.org with SMTP; 7 Oct 1996 23:30:02 - > Received: from carnot.ucsf.edu (carnot.ucsf.EDU [128.218.2.6]) by > cgl.ucsf.EDU (8.6.12/GSC4.25) with SMTP > id QAA03289 for ; Mon, 7 Oct 1996 > 16:20:29 -0700 > From: [EMAIL PROTECTED] > Received: by carnot.ucsf.edu (4.1/GSC4.23) > id AA17390; Mon, 7 Oct 96 16:20:27 PDT > Message-Id: <[EMAIL PROTECTED]> > Subject: Non-free gs > To: debian-user@lists.debian.org > Date: Mon, 7 Oct 96 16:20:25 PDT > X-Mailer: ELM [version 2.3 PL11] > > Hello all. > > I need to upgrade ghostscript in order to have a driver for an Epson > Stylus Color 500. I see that there is a gs in the "non-free" area, > which makes sense since Aladdin distributes newer versions under a > more restrictive license than the GNU one. > > When I tried using "dpkg -i" on this non-free gs...deb file, I got an > error because the current version of gs-fonts is too old. However, > there doesn't appear to be a corresponding version of gs-fonts in the > "non-free" area. > > How should I proceed? Should I use dpkg to completely remove the old gs > package (2.62, I think), and then install the new one (hoping it > includes fonts). Should I get the sources for the very lates gs, > compile and install them in the /usr/local hierarchy? The latter > option also requires building/installing jpeg, png, zlibs and other > stuff. > > Looking forward to suggestions. > > > > Danny Heap, UCSF, California St., Room 102, SF CA, 94122 > [EMAIL PROTECTED], voice: (415) 476-8910, fax: (415) 476-1508 > > > > -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
Adaptec 2482 versus Debian 1.2.5
Perhaps this is old news, but I thought I'd pass it on just in case. I recently upgraded to linux kernel 2.0.27 (using Debian 1.2.5) from linux 2.0.7. The distribution kernel image panicked at boot: right after the (normal) scsi bus reset it generated a "spurious interrupt" and never regained its composure. My next step (after rebooting 2.0.7 and watching fsck work) was to compile a custom kernel with support for the Adaptec controller in the kernel. This booted fine. The important difference I can think of between the distribution kernel and my custom kernel is that the distribution kernel likely loads the scsi driver as a module (after booting part way from a RAM disk), whereas my custom kernel compiles the scsi driver into the kernel. I understand that a generic distribution kernel should load unusual drivers and options as modules to keep the size of the kernel manageable. I guess there needs to be a work-around when touchy hardware (e.g. scsi controllers) fails to work with a module-loaded driver. ---- Danny Heap, UCSF, California St., Room 102, SF CA, 94118 [EMAIL PROTECTED], voice: (415) 476-8910, fax: (415) 476-1508 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
Adaptec corruption relieved! (so far)
I posted earlier that my 2.0.0 kernel, using aic7xxx, corrupted my superblock, whereas my previous 1.2.13 kernel (aha274x) didn't. On the advice of Dan Eischen, I got linux kernel 2.0.7 plus a patch for aic7xxx. I compiled the patched kernel, installed it, and now I can reboot with impunity. The superblock stays clean. Here's where I got the source and patch: ftp.teleport.com:/pub/users/deang/Linux/aic7xxx/Experiment/ I still need to try some device-stressing stuff (big tars to and from floppies, for example) to see whether the fix holds up. But so far, so good. Other correspondents suggested other fixes which I haven't tried out: 1. Downgrade to kernel 1.3.97 2. Get a firmware revision from Conner (I think this may apply only to the 1060S, my disk is a 1080S). 3. One correspondent had the same problem, but it only occurred with reboots, not halts. They were able to fix the superblock with an emergency floppy using an alternate superblock (8193, for example). Many thanks to the following: = Dan Eischen Holger Kemper Fredrik Lundholm Allan K. Smith Bernd Melchers (I apologize if I forgot anybody). ---- Danny Heap, UCSF, California St., Room 102, SF CA, 94122 [EMAIL PROTECTED], voice: (415) 476-8910, fax: (415) 476-1508
System.map
I've compiled custom kernels that weren't part of any debian distribution yet (2.0.7 patched with aic7xxx fixes). In /var/adm/messages there's a complaint that the booting kernel couldn't read the map. Checking old /var/adm/messages, it appears that what's wanted is the file System.map which appears to be in the directory where I built the kernel. How should I set things up so this file is found? Also, how serious is it when it's not found? A third question. I noticed a file called "debian-rules" in the source directory for one of the distribution kernels. Should I use this to make a debian-style installation of my custom kernel, or only if I want to make a particular custom kernel into a debian package? If I should use it, what extra files (besides kernel-2.x.x.tar.gz) do I need? Thanks ---- Danny Heap, UCSF, California St., Room 102, SF CA, 94122 [EMAIL PROTECTED], voice: (415) 476-8910, fax: (415) 476-1508
gcc can't find termcap library
I recently installed Debian 1.1, including termcap.compat. Since then I've installed a custom version of the kernel (2.0.7) successfully, so I figure that gcc is reasonably well set up. However, I tried to compile kermit 5A(190) and the make failed, complaining that it couldn't find -ltermcap. There is definitely a file of the form /lib/libtermcap.so.?, but I guess gcc is looking for a *.a file. How should I go about fixing this? ---- Danny Heap, UCSF, California St., Room 102, SF CA, 94122 [EMAIL PROTECTED], voice: (415) 476-8910, fax: (415) 476-1508
Kernel customizing package?
I am very impressed with the new (Aug 25) debian FAQ. A couple of questions: 1. Two pointers at the top level of www.debian.org point to an older version of the FAQ (it identifies the latest version as 0.93R6). The current version is available if I go to the ftp interface and look under doc. 2. I'm interested in debian-izing my custom kernel (which I need to patch the aic7xxx driver). The FAQ says I can do this with kernel_package_VVV_all.deb (which, in turn, contains make-kpkg). However, there is no indication of where to find kernel_package_VVV_all.deb. I've looked through the most recent distribution (1.1.8), and other likely directories without any luck. I also searched Contents for the string "make-kpkg" without any matches. Any suggestions? I've mailed both questions/comments to the FAQ maintainer. ---- Danny Heap, UCSF, California St., Room 102, SF CA, 94122 [EMAIL PROTECTED], voice: (415) 476-8910, fax: (415) 476-1508
Re: Installation problem with AIC7770 SCSI Controller
There was a major patch to the aic7xxx driver that was originally applied to kernel 2.0.7. The patch became part of the regular kernel 2.0.13. I was having similar problems upgrading to the 2.0.0 kernel until I sent mail to the aic7xxx maintainer and got pointed to the patch. He (Dan Eischen) said that the patch had fixed many bugs. In order to do a complete install, you'll need a kernel that includes this patch on your installation boot disk. If you (or a kind acquaintance) builds such a kernel, they need to have it support ramdisk, and to use the rdev.sh script on it (also on the boot disk). The installation boot disk is in DOS format, so you can copy to/from it with mcopy. Also, the debian installation procedure will complain that the modules directory is empty (on the boot disk), but this isn't serious (if you aren't using modules). Here's where I got the patch and 2.0.7 sources. You might also just get a regular kernel later than 2.0.13 and skip the patches: ftp.teleport.com:/pub/users/deang/Linux/aic7xxx/Experiment/ Dan Eischen [EMAIL PROTECTED] Good luck, and write if you need clarification. ---- Danny Heap, UCSF, California St., Room 102, SF CA, 94122 [EMAIL PROTECTED], voice: (415) 476-8910, fax: (415) 476-1508
fund raising just starting
We have just started out so please can you give us some help danny
unsuscribe
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Unsuscribe
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
How to install Debian with Promise FastTrak 376 chip onboard?
I have difficulties to install Debian 3 on my MSI K7N2G motherboard with Promise FastTrak 376 chip onboard. Standard Install and also 2.4 Kernel (BF24) doesn't recognize the harddisk controller. Unfortunately Promise supports only Suse and RedHat. Any hints / tips tricks are greatly appreciated. Danny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to install Debian with Promise FastTrak 376 chip onboard?
I'm sorry. I couldn't follow the instructions. I'm a linux beginner. Where can I get the Debian drivers for my Promise 376 controller? Thanx, Danny "Greg Folkert" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to install Debian with Promise FastTrak 376 chip onboard?
Hi Nano Nano, thank you for your posting, but I'm an absolute Linux beginner. I have installed only Windows, so I can't compile a new kernel, as I have no Linux avaiable. All I need is for the installation some binary driver that the Debian 3 R2 installer detects my FastTrak 376. Thanx, Danny "Nano Nano" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > On Thu, Feb 12, 2004 at 03:21:25PM +0100, Danny wrote: > > I have difficulties to install Debian 3 on my MSI K7N2G motherboard with > > Promise FastTrak 376 chip onboard. Standard Install and also 2.4 Kernel > > (BF24) doesn't recognize the harddisk controller. > > > > Unfortunately Promise supports only Suse and RedHat. > > > > Any hints / tips tricks are greatly appreciated. > > I was stumped by this for the longest time but it's cake. > http://ttul.org/~rrsadler/linux-promise/ > Search lists.d.o for promise > > I put my 2.4.24 .config file that will fit on a boot floppy here: > http://home.comcast.net/~40208.nospam/config.bf24-24.gz > > Here are some random tidbits, follow the web page: > > - download bf24 root and rescue floppy > - create 2.4.24 kernel with .config above: make dep bzImage > - mount rescue floppy, replace linux.bin with arch/i386/bzImage > (rename to linux.bin) > - boot from rescue floppy, continue with root floppy > [you'll have to select the steps manually during setup] > - execute shell, mkdir /cdrom, mount cdrom on /cdrom > - configure hostname and network: i had to use static ip for some reason > - install kernel from mounted, /cdrom > - install base system from mounted, /cdrom > - kernel 2.2.20 will be installed, so system won't start on reboot, so > - following the install reboot, boot off rescue floppy, and boot > "rescue /dev/[rootpart]" > - mount rescue floppy > - copy /floppy/linux.bin /boot/vmlinuz-2.4.24-rescue > - rm /vmlinuz, ln -s /boot/vmlinuz-2.4.24-rescue /vmlinuz > - run lilo -- now you can boot off the HD > - install a "real" kernel, now you can boot off Linux and LinuxOld > > enjoy ! > > the process is a lot like having to hit F6 during Windows Setup with > the promise disk, except Linux is Nicer! > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to install Debian with Promise FastTrak 376 chip onboard?
Hi Nano Nano, to supply a floppy during setup is no problem. There in the Debian 3 installer is an option "Preload modules from disk". And that is all I ask for, the modules (binary device drivers for Promise FastTrak 376), so that I can put it on disk, that the Installer detects my Promise FastTrak 376 controller. Danny "Nano Nano" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > On Thu, Feb 12, 2004 at 10:26:52PM +0100, Danny wrote: > > Hi Nano Nano, > > > > thank you for your posting, but I'm an absolute Linux beginner. I have > > installed only Windows, so I can't compile a new kernel, as I have no Linux > > avaiable. > > > > All I need is for the installation some binary driver that the Debian 3 R2 > > installer detects my FastTrak 376. > > > > well, if you figure out how to just supply a floppy during setup, post > it here and let me know. There is an option to add a floppy driver > disk, in theory you could do it. I never could figure that out, until I > read the instructions I gave you there. > > I'm not sure if 2.4.18 supported promise but it just wasn't selected in > the .config. anybody know? > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to install Debian with Promise FastTrak 376 chip onboard?
Hi Nano Nano, until yet I had no success, I downloaded the binary drivers from the Promise site, (for Suse and RedHat) tried it, but it won't load. Also I used precompiled drivers from the site http://www.fys.ku.dk/~esban/promise376.html, but also with no success. I have written to Promise and pleased for binary drivers for Debian, but got no answer. Someone out there, who has precompiled drivers for Promise FastTrak 376? Danny "Nano Nano" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > On Fri, Feb 13, 2004 at 08:38:03AM +0100, Danny wrote: > > Hi Nano Nano, > > > > to supply a floppy during setup is no problem. There in the Debian 3 > > installer is an option "Preload modules from disk". And that is all I ask > > for, the modules (binary device drivers for Promise FastTrak 376), so that I > > can put it on disk, that the Installer detects my Promise FastTrak 376 > > controller. > > > > all I ask is that if you figure it out you tell me too > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to install Debian with Promise FastTrak 376 chip onboard?
Hi Antony, you are the man, which saved me! Install with the help of your webpage was easy and fast and the installer detected my harddisk (no raid). But now after reboot, I can't boot. Grub crashes and showed only the Grub prompt at the bottom of the screen. How can I boot with your driver? Thanx in advance, Danny "Antony Gelberg" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > On Fri, Feb 13, 2004 at 12:04:03AM -0800, Nano Nano wrote: > > On Fri, Feb 13, 2004 at 08:38:03AM +0100, Danny wrote: > > > Hi Nano Nano, > > > > > > to supply a floppy during setup is no problem. There in the Debian 3 > > > installer is an option "Preload modules from disk". And that is all I ask > > > for, the modules (binary device drivers for Promise FastTrak 376), so that I > > > can put it on disk, that the Installer detects my Promise FastTrak 376 > > > controller. > > > > > > > all I ask is that if you figure it out you tell me too > > I came in a bit late here. Have a look on my site - > http://www.antgel.co.uk/compsci/linux/promise_raid.shtml. This has the > Promise driver module built against 2.4.18-bf24. > > A > > -- > Please don't CC me. Also _please_ read the following before posting: > Documentation - http://www.debian.org/doc/ > FAQ - http://www.debian.org/doc/FAQ/ > Install manual (i386) - http://www.debian.org/releases/stable/i386/install > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
How to boot installed Debian system with Promise FastTrak 376?
Hello list, Yesterday I installed Debian 3 on my system with Promise FastTrak 376 controller with the help of the site: http://www.antgel.co.uk/compsci/linux/promise_raid.shtml Now comes my problem: My system doesn't boot! Grub showed only a Grub prompt. My Debian 3 (Woody) installation is on sd9. I have only one harddisk which is on the SATA port. I have also Windows XP installed. So in order to write this message I have made a FixMBR to be able to boot into windows. But now comes my question. What must I do, that I can choose between Windows and Debian 3? What must I do, that the ft3xx driver is loaded, so that Debian sees my Promise controller? Thanx in advance, Danny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Mount problem with SATA and Kernel 2.6.6
Thank you for your answer. Now it works perfectly. I have compiled in the kernel also some SCSI stuff, which I thought it isn't necessary, like SCSI emulation. Danny "Justin Guerin" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > On Tuesday 11 May 2004 10:32, Danny wrote: > > Thank you for your answer. I always use the old .config. I use EXT3 > > filesystem with the drivers compiled in. I have no ramdisk, because I > > have compiled in the Promise drivers directly into the kernel. As written > > before, the hardisk is recognized correctly, also with the correct size. > > I have photographed the kernel messages during bootup and can see, that > > the SATA hardisk is attached as sda. It is strange, that I'm still unable > > to mount to SDA9, like in Kernel 2.4.18 > > > > The problem must be afterwards, after the Promise driver is being loaded. > > > > Thanks again, > > > > Danny > > Can you post the relevant portions of your boot log when using the 2.4.18 > kernel? That may provide some insight. Also, the output of lsmod may > prove helpful (also from working 2.4.18). It seems that you're missing > some kind of driver support, but it isn't the file system and it isn't the > controller, so that only leaves the SCSI command set, which doesn't seem > likely since it seems to attach the disk OK. > > Justin Guerin > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Mount problem with SATA and Kernel 2.6.6
Hello, I have a weird boot problem. I have a SATA harddisk on a Promise controler with Nforce2 chipset. I have no problem to boot up with Kernel 2.4.18. All works fine instead of the Sound system. So I tried to use Kernel 2.6.6 as it have Nforce2 support. The problem is, that I can't boot, because of an Kernel panic, "unable to mount root on /dev/sda9". Strange thing is that I have compiled in all Promise and SATA drivers. Also during the boot process the SATA Hardisk are recognized as SDA with the correct size. This is my last line regarding the SCSI system: Attached scsi disk sda at scsi2, channel 0, id 0, lun 0 Where can be the problem? Any help is greatly apreciated. Do you know, if the kernel-images provided from Debian are supporting SATA drives? Danny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Mount problem with SATA and Kernel 2.6.6
Thank you for your answer. I always use the old .config. I use EXT3 filesystem with the drivers compiled in. I have no ramdisk, because I have compiled in the Promise drivers directly into the kernel. As written before, the hardisk is recognized correctly, also with the correct size. I have photographed the kernel messages during bootup and can see, that the SATA hardisk is attached as sda. It is strange, that I'm still unable to mount to SDA9, like in Kernel 2.4.18 The problem must be afterwards, after the Promise driver is being loaded. Thanks again, Danny "Justin Guerin" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > On Tuesday 11 May 2004 08:46, Danny wrote: > > Hello, > > > > I have a weird boot problem. I have a SATA harddisk on a Promise > > controler with Nforce2 chipset. I have no problem to boot up with Kernel > > 2.4.18. All works fine instead of the Sound system. > > > > So I tried to use Kernel 2.6.6 as it have Nforce2 support. The problem > > is, that I can't boot, because of an Kernel panic, "unable to mount root > > on /dev/sda9". > > > > Strange thing is that I have compiled in all Promise and SATA drivers. > > Also during the boot process the SATA Hardisk are recognized as SDA with > > the correct size. This is my last line regarding the SCSI system: > > > > Attached scsi disk sda at scsi2, channel 0, id 0, lun 0 > > > > Where can be the problem? Any help is greatly apreciated. Do you know, if > > the kernel-images provided from Debian are supporting SATA drives? > > > > Danny > > What is your file system type for /? Do you have the proper driver compiled > into your kernel? If not, are you using an initial ram disk, and does the > initrd have the file system driver included? > > If you want to use 2.6.6 with Debian compile options, you could always wait > until it's available, or install 2.6.5, copy the config, make oldconfig, > then add in your SATA drivers. > > Justin Guerin > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
sources.list urls for Etch
Hi Everyone, I have Etch and got my systems (laptop and desktop) running nicely. I an still realitively new to Debian/Linux and love it. I understand Etch is frozen and will soon be the stable version. I want to make sure I have the correct urls in my sources.list file. This is what I have now: deb http://mirrors.kernel.org/debian/ testing main deb-src http://mirrors.kernel.org/debian/ testing main deb http://security.debian.org/ testing/updates main I looked every where and cannot find anything conclusive. This is what I have found so far: deb http://ftp.debian.org/debian/ etch main contrib non-free deb-src http://ftp.debian.org/debian/ etch main contrib non-free I am in the United States. Will these work? What about the kernel? How about security udates? I use aptitude to maintain my systems and don't want to break anything when I update. Thanks, Danny Murdoch -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Apply a patch?
Hi List, How would I apply a patch to a .deb file?. I want to patch mutt before I install it. Thank You Danny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Apply a patch?
On May 14 06, Roberto C. Sanchez thought of the following : > To: Debian-Users > Date: Sun, 14 May 2006 08:29:43 -0400 > From: "Roberto C. Sanchez" <[EMAIL PROTECTED]> > Subject: Re: Apply a patch? > User-Agent: Debian Thunderbird 1.0.2 (X11/20060423) > X-Loop: debian-user@lists.debian.org > > Danny wrote: > > Hi List, > > > > How would I apply a patch to a .deb file?. I want to patch mutt before I > > install > > it. > > > > http://familiasanchez.net/~roberto/howtos/debcustomize > > -Roberto > > -- > Roberto C. Sanchez > http://familiasanchez.net/~roberto Thanks Roberto. Much appreciated. Danny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: a postfix problem
On May 15 06, bill thought of the following : > I am just trying to set up postfix on a newly installed sarge machine. > I have edited the main.cf, I am well accustomed to using postfix, but > have not so much experience with debian. > When I do a postfix reload after editing I get the following error > >postfix: fatal: bad string length 0 < 1: setgid_group = > could someone here please be kind enough to point me in the right > direction to get this sorted out > with many thanks > > Bill > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] Hi Bill, The following is an extract of "postfix_conf_parameters.html" found at www.postfix.org: setgid_group (default:postdrop) The group ownership of set-gid Postfix commands and of group-writable postfix directories. When this parameter value is changed, you need to re-run "postfix set-permissions". (With Postfix 2.0 and earlier:"/etc/postfix/post-install set-permissions") By the looks of it, you cannot have an empty value next to "setgid_group". Danny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: a postfix problem
> Well, I have made some progress, but now it is barfing on the following > > mailhost:/usr/sbin# postfix set-permissions > chown: cannot access `/usr/lib/postfix/dict_ldap.so': No such file or > directory > > but I am not using ldap, what is going on here? any ideas? I am not a postfix expert by a long shot, but just in case, maybe you should install postfix-ldap. That is what I did. (Just in case) :) Danny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Package question
Hi list, Could someone please tell me which package provides "msgfmt"? Thank you all in advance Danny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Test only
Hi guys, Please ignore this ... Just testing a few tweaks I made in postfix ... :) Thank You Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20141204122252.GF11639@fever.havannah.local
resolv.conf misbehaving
Hi guys, The past weekend I upgraded from Debian v3.0 to the latest Debian stable (7.0 or something) ... (wish I never did) ... However, I have noticed that my resolv.conf gets overwritten by something after every reboot. The Debian server resolves all local (internal) addresses and the ADSL router resolves all external addresses. Normally my resolv.conf looked like this nameserver 10.0.0.2 (ADSL router) nameserver 10.0.0.5 (Debian server to resolve local addresses) Now it get's overwritten with : nameserver 10.0.0.2 I need to reslove both local and external addresses. At the moment I have to manually add the 10.0.0.5 into the resolv.conf file after rebooting. Any help or pointers? Thank You Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20140220151722.GB10812@fever.havannah.local
Re: resolv.conf misbehaving
Hi Guys, Looks like it was a combination of a few things. First of all (according to man "resolvconf") I had to add "dns-" hooks to /etc/network/interfaces. DHCP was also a little problem (like some of you pointed out). "resolv.conf" now has both the router and Debian as nameservers automatically. e can now do "dig fever.havannah.local" and it resolves correctly. It queries the Debian (10.0.0.5) server by default, which I want. However, if I do "dig -x 10.0.0.5" (the Debian server which is fever.havannah.local) it fails to resolve simply because it queries the router (10.0.0.2) instead of the Debian server which is 10.0.0.5. It is not even making attempts to query the Debian server. But if I force dig with "dig @10.0.0.5 -x 10.0.0.5" it resolves correctly. Is it because 10.0.0.2 (router) is pushed into resolv.conf first? Any pointers? fever.havannah.local= 10.0.0.5= Debian router.havannah.local = 10.0.0.2= router Here is my reverse lookup file (db.10.0.0): # ; ; BIND reverse data file ; $TTL604800 @ IN SOA fever.havannah.local. root.havannah.local. ( 2014022314 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; IN NS fever.havannah.local. 2 IN PTR zombie.havannah.local. 5 IN PTR fever.havannah.local. 6 IN PTR shotgun.havannah.local. # Here is my forward lookup file (db.havannah.local) # ; ; BIND data file for local loopback interface ; $TTL604800 @ IN SOA fever.havannah.local. root.havannah.local ( 2014022912 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; @ IN NS fever.havannah.local. @ IN MX 10 fever.havannah.local. zombie IN A 10.0.0.2 fever IN A 10.0.0.5 shotgun IN A 10.0.0.6 # And here is my dhcpd.conf file # option subnet-mask 255.255.255.0; # # Sample configuration file for ISC dhcpd for Debian # # # The ddns-updates-style parameter controls whether or not the server will # attempt to do a DNS update when a lease is confirmed. We default to the # behavior of the version 2 packages ('none', since DHCP v2 didn't # have support for DDNS.) ddns-update-style none; # option definitions common to all supported networks... option domain-name "havannah.local"; option domain-name-servers 10.0.0.5, 10.0.0.2; default-lease-time 600; max-lease-time 7200; # If this DHCP server is the official DHCP server for the local # network, the authoritative directive should be uncommented. #authoritative; # Use this to send dhcp log messages to a different log file (you also # have to hack syslog.conf to complete the redirection). log-facility local7; # No service will be given on this subnet, but declaring it helps the # DHCP server to understand the network topology. # fever subnet 10.0.0.0 netmask 255.255.255.0 { range 10.0.0.101 10.0.0.200; option routers 10.0.0.5 , 10.0.0.2; option domain-name-servers 10.0.0.5 , 10.0.0.2; } ##### Thanks guys for helping Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20140223184721.GA4825@fever.havannah.local
Re: resolv.conf misbehaving
Hi, My apologies, I must have missed your reply > Warning : this setup is wrong and may not work as you expect. All listed > nameservers should be equivalent. Multiple nameservers are only for > redundancy, not to provide multiple sources. > > If you query the first server for an information out of its scope, it > may reply negatively (status: NXDOMAIN or NOERROR, ANSWER: 0) and the > next server won't be queried. So in the end you won't get your answer. However, what would be the point of giving resolv.conf multiple nameserver options then (if I understand you correctly), if one cannot "force" (for lack of a better word) it, or even arbitrarily change the order in which servers can be queried? So it would be absolutely pointless in even trying? I think I am missing something somewhere, previously (Debian 3.0 and even later) one could add multiple nameservers in resolv.conf and the list would be queried one at a time if an ANSWER SECTION could not be obtained from the previous one. I fail to understand then the reasoning for "limiting" resolv.conf (and everything associated with it). I am no expert (by a long way) when it comes to any sort of DNS, but you don't need to be a Doctor to know when someone is ill. The setup I had (Debian 3.0) worked. Unfortunately smart devices and more wireless laptops demanded attention. So I upgraded (clean install) to Debian 7.0. All I want to do is for all wireless devices to get DHCP from Debian (not the router) and query Debian (not the router) for name resolution. Simple as that. I appreciate your input. Thank You Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20140224132600.GA7788@fever.havannah.local
Re: resolv.conf misbehaving
Hi, O.k guys, I think I sorted it out. I can do both forward and reverse lookups now. My life is normal again ... Pascal, you remind me of my maths teacher in high school ... very stern and to the point ... :) ... In the end I had to pay attention (again) to DHCP ... like many of you suggested ... It would appear as if DHCP is "stronger" than other users of resolv.conf and it has the last say as to what goes into resolv.conf ... by reading (a few times) the suggestions on this thread I finally did something right (don't even ask, cause I can't remember, was watching NASCAR while doing it ) ... Once again, thanks to all Have a nice day Danny On Feb 24 14, Pascal Hambourg : > To: debian-user@lists.debian.org > Date: Mon, 24 Feb 2014 22:46:23 +0100 > From: Pascal Hambourg > Subject: Re: resolv.conf misbehaving > User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) > X-Loop: debian-user@lists.debian.org > > Danny a écrit : > > > >> Warning : this setup is wrong and may not work as you expect. All listed > >> nameservers should be equivalent. Multiple nameservers are only for > >> redundancy, not to provide multiple sources. > >> > >> If you query the first server for an information out of its scope, it > >> may reply negatively (status: NXDOMAIN or NOERROR, ANSWER: 0) and the > >> next server won't be queried. So in the end you won't get your answer. > > > > However, what would be the point of giving resolv.conf multiple nameserver > > options then > > I wrote it : redundancy. > > > if one cannot "force" (for lack of > > a better word) it, or even arbitrarily change the order in which servers > > can be > > queried? > > You can force or change the order of the nameservers. /etc/resolv.conf > even has an option "rotate" to do round-robin among the listed > nameservers. What you cannot do is expect the current resolver library to : > - ask a given nameserver for a given type of queries (e.g. "external > names"), and another nameserver for another given type of queries (e.g. > "internal names") ; > - ask the next nameserver if the previous nameserver replied that the > requested name does not exist or does not have a resource record for the > requested type (aka negative answer). > > > The setup I had (Debian 3.0) worked. Unfortunately smart devices and more > > wireless laptops demanded attention. So I upgraded (clean install) to Debian > > 7.0. All I want to do is for all wireless devices to get DHCP from Debian > > (not > > the router) and query Debian (not the router) for name resolution. Simple as > > that. > > Why then are you messing with the router's nameserver ? > > If you need to resolve both internal and external names, I suggest that > you query only the Debian nameserver and configure it to reply to > recursive queries, either by itself or by forwarding them to the > router's nameserver. > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: http://lists.debian.org/530bbdaf.3090...@plouf.fr.eu.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140226063219.GC4113@fever.havannah.local
Re: very slow Xorg and/or bash
Hi, I think you are looking for the answer in the wrong place. Remember that Xorg is totally network aware. When it starts up, it checks your hostname and resolv.conf file. A bad configuration of these two will slow Xorg down considerably. The reason I say this is because very recently (last week or so) I ran into a few problems with DNS, and whenever I misconfigured one of these files Xorg would take up to 15 seconds and sometimes even more to start. Also, I had slow logins with terminals. Properly configuring these two files rectified the problem. Hope it helps Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140226065445.GD4113@fever.havannah.local
DHCP quickie
Hi Guys, Is it possible to only give leases at a certain time of day for a certain IP or MAC? Say from 06:00 till 10:00 and then from 18:00 till 22:00? Just wondering Thank You Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140304173257.GA6878@fever.havannah.local
make cannot find file
Hi guys, I am having trouble with make. It complains about a missing header file "asm/socket.h". I did a search for each package that contains this file and installed them but the error still persists. +++ root@fever:~/git/svxlink/src/build# make [ 0%] Building CXX object async/core/CMakeFiles/asynccore.dir/AsyncIpAddress.cpp.o In file included from /usr/include/i386-linux-gnu/sys/socket.h:38:0, from /root/git/svxlink/src/async/core/AsyncIpAddress.cpp:40: /usr/include/i386-linux-gnu/bits/socket.h:345:24: fatal error: asm/socket.h: No such file or directory #include ^ compilation terminated. async/core/CMakeFiles/asynccore.dir/build.make:123: recipe for target 'async/core/CMakeFiles/asynccore.dir/AsyncIpAddress.cpp.o' failed make[2]: *** [async/core/CMakeFiles/asynccore.dir/AsyncIpAddress.cpp.o] Error 1 CMakeFiles/Makefile2:102: recipe for target 'async/core/CMakeFiles/asynccore.dir/all' failed make[1]: *** [async/core/CMakeFiles/asynccore.dir/all] Error 2 Makefile:117: recipe for target 'all' failed make: *** [all] Error 2 +++++++ Any pointers? Thank you Danny
Re: make cannot find file
Here is the VERBOSE=1 output: ++ root@fever:~/git/svxlink/src/build# make VERBOSE=1 /usr/bin/cmake -H/root/git/svxlink/src -B/root/git/svxlink/src/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /root/git/svxlink/src/build/CMakeFiles /root/git/svxlink/src/build/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/root/git/svxlink/src/build' make -f async/core/CMakeFiles/asynccore.dir/build.make async/core/CMakeFiles/asynccore.dir/depend make[2]: Entering directory '/root/git/svxlink/src/build' cd /root/git/svxlink/src/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /root/git/svxlink/src /root/git/svxlink/src/async/core /root/git/svxlink/src/build /root/git/svxlink/src/build/async/core /root/git/svxlink/src/build/async/core/CMakeFiles/asynccore.dir/DependInfo.cmake --color= make[2]: Leaving directory '/root/git/svxlink/src/build' make -f async/core/CMakeFiles/asynccore.dir/build.make async/core/CMakeFiles/asynccore.dir/build make[2]: Entering directory '/root/git/svxlink/src/build' /usr/bin/cmake -E cmake_progress_report /root/git/svxlink/src/build/CMakeFiles [ 0%] Building CXX object async/core/CMakeFiles/asynccore.dir/AsyncIpAddress.cpp.o cd /root/git/svxlink/src/build/async/core && /usr/bin/c++ -DINTERNAL_SAMPLE_RATE=16000 -D_REENTRANT -Dasynccore_EXPORTS -Wall -Wpointer-arith -O3 -fPIC -I/root/git/svxlink/src/build/include -I/root/git/svxlink/src/build -I/usr/lib/i386-linux-gnu/sigc++-2.0/include -I/usr/include/sigc++-2.0-o CMakeFiles/asynccore.dir/AsyncIpAddress.cpp.o -c /root/git/svxlink/src/async/core/AsyncIpAddress.cpp In file included from /usr/include/i386-linux-gnu/sys/socket.h:38:0, from /root/git/svxlink/src/async/core/AsyncIpAddress.cpp:40: /usr/include/i386-linux-gnu/bits/socket.h:345:24: fatal error: asm/socket.h: No such file or directory #include ^ compilation terminated. async/core/CMakeFiles/asynccore.dir/build.make:123: recipe for target 'async/core/CMakeFiles/asynccore.dir/AsyncIpAddress.cpp.o' failed make[2]: *** [async/core/CMakeFiles/asynccore.dir/AsyncIpAddress.cpp.o] Error 1 make[2]: Leaving directory '/root/git/svxlink/src/build' CMakeFiles/Makefile2:102: recipe for target 'async/core/CMakeFiles/asynccore.dir/all' failed make[1]: *** [async/core/CMakeFiles/asynccore.dir/all] Error 2 make[1]: Leaving directory '/root/git/svxlink/src/build' Makefile:117: recipe for target 'all' failed make: *** [all] Error 2 On Jul 05 16, Alberto Luaces : > To: debian-user@lists.debian.org > Date: Tue, 05 Jul 2016 09:41:56 +0200 > From: Alberto Luaces > Subject: Re: make cannot find file > User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) > X-Loop: debian-user@lists.debian.org > > Danny writes: > > > Hi guys, > > > > I am having trouble with make. It complains about a missing header file > > "asm/socket.h". > > > > I did a search for each package that contains this file and installed them > > but > > the error still persists. > > > > +++ > > root@fever:~/git/svxlink/src/build# make > > [ 0%] Building CXX object > > async/core/CMakeFiles/asynccore.dir/AsyncIpAddress.cpp.o > > In file included from /usr/include/i386-linux-gnu/sys/socket.h:38:0, > > from > > /root/git/svxlink/src/async/core/AsyncIpAddress.cpp:40: > > /usr/include/i386-linux-gnu/bits/socket.h:345:24: fatal error: > > asm/socket.h: No > > such file or directory > > #include > > ^ > > compilation terminated. > > async/core/CMakeFiles/asynccore.dir/build.make:123: recipe for target > > 'async/core/CMakeFiles/asynccore.dir/AsyncIpAddress.cpp.o' failed > > make[2]: *** [async/core/CMakeFiles/asynccore.dir/AsyncIpAddress.cpp.o] > > Error 1 > > CMakeFiles/Makefile2:102: recipe for target > > 'async/core/CMakeFiles/asynccore.dir/all' failed > > make[1]: *** [async/core/CMakeFiles/asynccore.dir/all] Error 2 > > Makefile:117: recipe for target 'all' failed > > make: *** [all] Error 2 > > +++ > > > > Any pointers? > > Yes. Do a > > make VERBOSE=1 > > to see the compilation flags. > > -- > Alberto
Re: make cannot find file
I found the slippery file ... ;) > On my system it is > /usr/include/x86_64-linux-gnu/bits/socket.h > which includes > > Thomas Thank you Thomas Have a nice day Day
Re: make cannot find file
> Danny wrote: > > I found the slippery file ... ;) > > Thank you Thomas > > You owe my curiosity some details. What file was slippery in what way ? > How did you repair the situation ? > After installing EVERYTHING (lol) that has some resemblance to "asm/socket.h" (including the ones you suggested Thomas) and pulling out the last bit of hair left on my head I finally discovered I forgot about libc6-devel ... That seemed to have nailed down that elusive litter bugger of a file ... Have a nice day Danny
Sound card question
Hi guys, I have a Sigmatel STAC9227 on-board sound card. Everything works fine as it should. It has the normal Mic , Ext.Speaker and Line-Out jacks. Currently the Mic and Ext.Speaker plugs are permanently occupied via speaker/mic headphones (Amateur Radio Stuff) ... What I would like to know is if it would be possible to send audio that goes to the headphones to the Line-Out jack at the same time? Thank You Danny
Re: Sound card question
I actually ordered a Lexicon Omega for my son on e-Bay 2 weeks ago (still waiting for delivery ... ;) ) ... however, it is a little overkill for my use ... but thank you anyway for your input ... >n Sep 30 15, rlhar...@oplink.net : > To: debian-user@lists.debian.org > Date: Wed, 30 Sep 2015 09:36:15 -0500 > From: rlhar...@oplink.net > Subject: Re: Sound card question > User-Agent: SquirrelMail/1.5.2 [SVN] > X-Loop: debian-user@lists.debian.org > > On Wed, September 30, 2015 8:55 am, Danny wrote: > > What I would like to know is if it would be possible to send audio that > > goes to the headphones to the Line-Out jack at the same time? > > I would be surprised that the case is otherwise. I always install > "pavucontrol" (pulse audio volume control), which may be all you need. > > But "jack" can provide any signal routing you need. > > A few years back I began using a USB interface for sound on everything. > This approach allows me to switch the entire sound apparatus from one > machine to another with only a single USB cable, so long as the machine > has a USB port and pavucontrol is installed. And I no longer have to > worry about the idiosyncrasies of all various on-board sound systems. > > One advantage of the USB interface approach to sound is the ability to use > professional (that is, balanced) apparatus, which, by design, eliminates > hum and buzz. You might find balanced gear advantageous when > radio-frequency interference (RFI) is a consideration. > > Entertainment and broadcast supply houses (bswusa.com, fullcompass.com, > markertek.com, bandh.com) stock a variety of economical USB interfaces. > > For many in the audio business (podcasting, performance, and audio mixing > and editing), USB sound has obsoleted bus-based sound cards. > > The Lexicon Alpha at less than fifty dollars is versatile and reliable, > and is powered from the USB bus. The Lexicon design (Alpha and Omega) > uses the mixer paradigm, and can accommodate a mix of balanced and > unbalanced inputs and outputs. > > RLH >
Re: Sound card question
On Sep 30 15, Doug : > To: debian-user@lists.debian.org > Date: Wed, 30 Sep 2015 13:39:16 -0400 > From: Doug > Subject: Re: Sound card question > User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 > Thunderbird/38.2.0 > X-Loop: debian-user@lists.debian.org > > > > On 09/30/2015 09:55 AM, Danny wrote: > >Hi guys, > > > >I have a Sigmatel STAC9227 on-board sound card. Everything works fine as it > >should. It has the normal Mic , Ext.Speaker and Line-Out jacks. > > > >Currently the Mic and Ext.Speaker plugs are permanently occupied via > >speaker/mic > >headphones (Amateur Radio Stuff) ... > > > >What I would like to know is if it would be possible to send audio that goes > >to > >the headphones to the Line-Out jack at the same time? > > > >Thank You > > > >Danny > > > > > Why not just get a Y adapter? > > --dm lol ... that never even crossed my mind ... Using a Y-adapter naturally forces the following question: Does it effectively split the power/gain into two and I end up with half on one side and half on the other? Danny
Re: Sound card question
I checked alsamixer and have no means to enable/disable channels ... :( ... On Sep 30 15, Seeker : > To: debian-user@lists.debian.org > Date: Wed, 30 Sep 2015 23:10:39 -0700 > From: Seeker > Subject: Re: Sound card question > User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 > Thunderbird/38.2.0 > X-Loop: debian-user@lists.debian.org > > > > On 9/30/2015 10:39 AM, Doug wrote: > > > > > >On 09/30/2015 09:55 AM, Danny wrote: > >>Hi guys, > >> > >>I have a Sigmatel STAC9227 on-board sound card. Everything works fine as > >>it > >>should. It has the normal Mic , Ext.Speaker and Line-Out jacks. > >> > >>Currently the Mic and Ext.Speaker plugs are permanently occupied via > >>speaker/mic > >>headphones (Amateur Radio Stuff) ... > >> > >>What I would like to know is if it would be possible to send audio that > >>goes to > >>the headphones to the Line-Out jack at the same time? > >> > >>Thank You > >> > >>Danny > >> > >> > >Why not just get a Y adapter? > > > >--dm > > > Ditto on the Y adapter, or some other external solution. > > Normal 3 jack hardware would be Pink (Microphone), Green (Audio Out), Blue > (Line In). > > Some hardware implementations do allow some jack functions to be changed, > but that > may or may not be the case for your specific hardware and if the hardware is > capable > may or may not be a feature that is implemented in the linux driver/mixer > software. > > Normally if it is an option that is implemented I would expect it to show as > a toggle in > one of the alsa mixers, possibly in the pulse audio stuff as well, similar > to the way > 'Mic Boost' might show in the mixers when the hardware supports that > function. > > If you do actually have an audio out and a line out and the line out doesn't > produce > audio when something is plugged into the audio out, it may be an indication > that it's > a hardwired mechanical function built into the audio out jack to break the > circuit to the > line out jack when anything is plugged into audio out. > > There are a few variables between the capabilities of the audio chip, the > mixer it is paired > with at the hardware level, the way the jacks are routed to these and the > way these show > up in the mixer at the software level. > > Maybe someone with the same/similar audio hardware will chime in with what > they see. > > Later, Seeker
Re: Sound card question
No jumpers on the motherboard ... :( ... On Oct 01 15, Rob van der Putten : > To: debian-user@lists.debian.org > Date: Thu, 01 Oct 2015 12:06:25 +0200 > From: Rob van der Putten > Subject: Re: Sound card question > User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.12) Gecko/20130119 > Firefox/10.0.11esrpre Iceape/2.7.12 > X-Loop: debian-user@lists.debian.org > > Hi there > > > Seeker wrote: > > > > >If you do actually have an audio out and a line out and the line out > >doesn't produce > >audio when something is plugged into the audio out, it may be an > >indication that it's > >a hardwired mechanical function built into the audio out jack to break > >the circuit to the > >line out jack when anything is plugged into audio out. > > Systems with headphone jack at the front and a line out at the rear, will > often switch of the the line out off when a headphone is plugged in. > This feature can usually be switched of by means of a jumper on the > motherboard. > Consult your motherboard documentation. > > > > > Regards, > Rob
Re: Sound card question
> I believe that the output of the headphone jack is not impedance matched--I > expect it's just > a voltage source. Wat's more, unless you are plugging the same low-impedance > devices into > both Y outputs, _and_ the source is impedance matched, you would not split > the power > equally. I don't know what you want to do with the second output, but it's > more > than likely a relatively high impedance, so it would not load the circuit at > all. > I could be wrong, but it seems logical to me. > > --doug O.k ... let me explain why I asked the question for the sake of satisfying any curiosity: I have EchoLink (Ham Radio VOIP) connected to Jessie like this: VHF Transceiver (with two interface cables going to the MIC and LINE-OUT jacks on the back of an internal sound card. Incoming audio (radio frequency) goes through the antenna ... through the transciever ... to the sound card (via the MIC interface cable) ... it gets processed by the sound card and stuff happens on VOIP ... Because the VHF transceiver is effectively turned into a repeater NO transmit or recieve audio can be heard on the transciever itself (as it should be). In order to hear comms coming in or out of the transciever (via an antenna) one has to connect to the transciever with ANOTHER transciever in order to hear people talk (if you are tuned to the same frequency off course) Now ... my second transciever is fitted inside my car ... in order for me to hear all comms on the frequency I need to go to my car and turn that transciever on every now and then which becomes a pain in the donkey ... ;) ... In order for me NOT to make a trip to the car every 10 minutes I though of splitting the LINE-OUT and add a normal set of desktop speakers. So ... I was just wondering if I will have any losses (in whatever form) when I "split" the signal ... keep in mind that the audio signals processed by the sound card should be strong and reliable ... Thank You Danny
SFTP question
Hi guys, I am trying to setup SFTP (ssh) with ProFTP. My /etc/proftpd/conf.d/sftpd.conf looks like this: ### SFTPEngine on Port 7003 SFTPLog /var/log/proftpd/sftp.log # Configure both the RSA and DSA host keys, using the same host key # files that OpenSSH uses. SFTPHostKey /etc/ssh/ssh_host_rsa_key SFTPHostKey /etc/ssh/ssh_host_dsa_key SFTPAuthMethods publickey SFTPAuthorizedUserKeys file:/etc/proftpd/authorized_keys/%u SFTPCompression delayed ## I added the following line in /etc/ssh/sshd_config: Subsystem sftp /usr/lib/openssh/sftp-server I generated a key for each user that will use SFTP located in their /home/USER/.ssh/ directory As you can see, I have setup SFTP to listen on port 7003. My question is the following: The users that will connect to the ssh server uses FileZilla and mostly from Windows based machines. I copied the "id_rsa" key files (which was generated on Debian) to the Windows user's "My Documents" folder on Windows. I also added the (copied) "id_rsa" files to FileZilla. However, I get an "Authentication Failed" followed by a "Critical Error:Could not connect to server" from FileZilla. 1:Do I need to generate different keys on Windows or is it o.k to use the copied ones from Debian? 2:Do I have to name the copied or generated files the same as the user? 3:Where do I put the key files on Windows? (I use puTTY to normally connect to my ssh servers, which works fine) Thank You Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20141223125228.GA24853@fever.havannah.local
Re: SFTP question
Hi Bob, You were right, SFTP, FileZilla and Proftp confused the hell out of me ... lol ... I must add in my defense though that I was in a state of panic after syslog warned me of an attack by someone during the night via ssh ... So I frantically tried to make ssh and Proftp work together without reading the online guides properly ... Sometimes one does stupid things ... lol ... Thanks for everyone's input ... Danny On Dec 23 14, Bob Proulx : > To: debian-user@lists.debian.org > Date: Tue, 23 Dec 2014 15:49:34 -0700 > From: Bob Proulx > Subject: Re: SFTP question > User-Agent: Mutt/1.5.23 (2014-03-12) > X-Loop: debian-user@lists.debian.org > > Danny wrote: > > I am trying to setup SFTP (ssh) with ProFTP. > > It looks to me like you might be confusing ssh sftp with proftpd sftp. > I assume you are not using ftps. > > http://www.proftpd.org/docs/contrib/mod_sftp.html > > > My /etc/proftpd/conf.d/sftpd.conf looks like this: > > > > > > SFTPEngine on > > Port 7003 > > SFTPLog /var/log/proftpd/sftp.log > > # Configure both the RSA and DSA host keys, using the same host key > > # files that OpenSSH uses. > > SFTPHostKey /etc/ssh/ssh_host_rsa_key > > SFTPHostKey /etc/ssh/ssh_host_dsa_key > > SFTPAuthMethods publickey > > SFTPAuthorizedUserKeys file:/etc/proftpd/authorized_keys/%u > > SFTPCompression delayed > > > > Here you are using the ssh host keys for proftpd. I assume that is okay. > > > I added the following line in /etc/ssh/sshd_config: > > > > Subsystem sftp /usr/lib/openssh/sftp-server > > This flew a red flag for me. If you are using proftpd for sftp then > why does the above line in ssh matter? Secondly you say you added > that line to the file and yet that file already contains that line > when installed. This leads me to think that maybe you are confusing > ssh sftp with proftpd sftp? Maybe? > > > I generated a key for each user that will use SFTP located in their > > /home/USER/.ssh/ directory > > Good. > > > As you can see, I have setup SFTP to listen on port 7003. > > Yes. What is your reasoning? It is okay whatever it is. I know very > savvy people who like to have a non-standard port just to avoid the > dictionary attacks causing endless noise in their log files. I on the > other hand prefer to use fail2ban to watch over the logs and to ban > abusive users. > > > My question is the following: The users that will connect to the ssh > > server uses FileZilla and mostly from Windows based machines. I > > copied the "id_rsa" key files (which was generated on Debian) to the > > Windows user's "My Documents" folder on Windows. I also added the > > (copied) "id_rsa" files to FileZilla. > > I don't generally use MS-Windows so don't know how things work there > but it sounds strange to me to need to have the private key in two > different places. I expect there to be one exactly correct location > to have the private key. > > > However, I get an "Authentication Failed" followed by a "Critical > > Error:Could not connect to server" from FileZilla. > > What a useless error message! :-( > > If it were me I would turn on sshd debug and then connect to the ssh > sftp and see what the server side of the connection reported. For > example like this. Then connect to it using port and watch the > server side of the messages. Very useful for debugging. > > # /usr/sbin/sshd -d -p > > Since you are trying to set up proftpd instead I suggest looking in > the /var/log/proftpd/sftp.log file and see what the server side errors > were in the connection. > > > 1:Do I need to generate different keys on Windows or is it o.k to > > use the copied ones from Debian? > > 2:Do I have to name the copied or generated files the same as the user? > > 3:Where do I put the key files on Windows? > > These would be good questions for an MS-Windows user mailing list that > deals with FileZilla. > > > (I use puTTY to normally connect to my ssh servers, which works fine) > > But that would use putty+sshd not filezilla+proftpd, right? In which > case it doesn't have any relationship to the problem you are trying to > solve now. > > Bob -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20141224070154.GB30814@fever.havannah.local
Re: SFTP question
08:04 fever sshd[25682]: reverse mapping checking getaddrinfo for 251.50.174.61.dial.wz.zj.dynamic.163data.com.cn [61.174.50.251] failed - POSSIBLE BREAK-IN ATTEMPT! Dec 24 19:08:04 fever sshd[25682]: User root from 61.174.50.251 not allowed because not listed in AllowUsers Dec 24 19:08:04 fever sshd[25682]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.174.50.251 user=root Dec 24 19:08:06 fever sshd[25682]: Failed password for invalid user root from 61.174.50.251 port 44941 ssh2 Dec 24 19:08:09 fever sshd[25682]: Failed password for invalid user root from 61.174.50.251 port 44941 ssh2 Dec 24 19:08:09 fever sshd[25682]: PAM 1 more authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.174.50.251 user=root Dec 24 19:08:10 fever sshd[25733]: Connection from 61.174.50.251 port 47735 Regards, Fail2Ban ### and ### Hi, The IP 122.225.103.124 has just been banned by Fail2Ban after 3 attempts against ssh. Here are more information about 122.225.103.124: Lines containing IP:122.225.103.124 in /var/log/auth.log Dec 24 16:19:16 fever sshd[10766]: Connection from 122.225.103.124 port 12625 Dec 24 16:19:31 fever sshd[10766]: User root from 122.225.103.124 not allowed because not listed in AllowUsers Dec 24 16:19:32 fever sshd[10766]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=122.225.103.124 user=root Dec 24 16:19:33 fever sshd[10766]: Failed password for invalid user root from 122.225.103.124 port 12625 ssh2 Dec 24 16:19:36 fever sshd[10766]: Failed password for invalid user root from 122.225.103.124 port 12625 ssh2 Dec 24 16:19:36 fever sshd[10766]: PAM 1 more authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=122.225.103.124 user=root Regards, Fail2Ban ### Thank You Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20141224194803.GA7615@fever.havannah.local
Re: SFTP question
I think what is the most disturbing is the fact that it eventually happened to me ... :( ... never thought it would ... And truth be told I am guilty at riding the horse bareback with guns blazing whenever I setup a server ... not paying much attention to security. But alas ... I have learned my lesson ... This incident scared the crap out of me ... lol ... :) ... > Not surprising. If you haven't been paying attention to your logs (you > should ALWAYS monitor them if you are connected to the internet!), you > haven't seen what has probably been going on for a long time. Agreed > I've seen attacks start within hours of putting a new system on the > internet. I see multiple attacks on my servers every day. Makes me wonder how these guys get hold of IP's so quickly ... > Attacks seem to have increased in the last few days. Which begs the question ... do these guys just shoot from the hip? ... or do they have a mandate or something? Thank You Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20141225174728.GA22623@fever.havannah.local
Have I been hacked?
Hi guys, A while ago I posted a question about SFTP (I think the thread name was "SFTP Question") about attacks I got against my server after syslog warned me about an attempted breakin. Consequently I installed fail2ban and did a few other things to let me sleep better at night. However, prior to this breakin, in early December 2014, I noticed my network behaving strangely especially through wireless connections. I have Debian that acts as a gateway (wlan0->br0->eth0). wlan0 is the pickup for the internal network that gets bridged to eth0 which then goes through the router to the internet. What I noticed was that wireless connections would break down quickly, bind9 would fail to resolve (even on wired connections) and pages would load slow. In general it was chaos. Under the impression that it was a hardware failure, I changed the wlan0 adapter. Still it was the same. So I bought a more expensive one, and still no change. I changed eth0 with an expensive one and still it was the same. I bought 2 new Netgear ADSL routers but the chaos was still there. wlan0, br0 and eth0 just didn't want to work together no more. Eventually I stopped all bootup scripts and processes trying to isolate the problem. And guess what, I found the culprit. Here it is: ## -rwxr-xr-x 1 root root 648K Dec 11 17:17 /boot/dippqejwvf ## This file got booted up and caused all the havoc. I moved it to a secure place and now it seems that all gremlins have gone away. The date on this file is 11 Dec 2014, right about the time my troubles started. I think that those Chinese guys got into my system even before syslog warned me a few days later. However, I have a few other weird looking files in the /boot directory. Can you guys please have a look at them and tell me if they are normal or not. # drwxr-xr-x 3 root root 4.0K Jan 6 19:35 . drwxr-xr-x 24 root root 4.0K Jan 3 17:23 .. -rwxr-xr-x 1 root root 648K Jan 6 19:03 aknaykocbs -rwxr-xr-x 1 root root 648K Jan 1 11:34 bxerzoalfk -rw-r--r-- 1 root root 157K Dec 10 18:57 config-3.16.0-0.bpo.4-686-pae -rw-r--r-- 1 root root 132K Dec 8 00:36 config-3.2.0-4-686-pae -rwxr-xr-x 1 root root 648K Dec 20 08:04 cwpgfmvkrk -rwxr-xr-x 1 root root 648K Dec 30 22:41 czhlgmsgzh -rwxr-xr-x 1 root root 648K Dec 30 20:03 dkseypedtx -rwxr-xr-x 1 root root 648K Jan 3 15:14 esijfkmwnd -rwxr-xr-x 1 root root 648K Dec 27 14:49 fndswijgdk -rwxr-xr-x 1 root root0 Dec 20 08:14 gbwokvqoch drwxr-xr-x 3 root root 12K Jan 3 17:23 grub -rwxr-xr-x 1 root root 648K Jan 5 07:28 gyimenpwnt -rwxr-xr-x 1 root root 648K Dec 31 17:49 hjmmvaxfzq -rwxr-xr-x 1 root root 648K Dec 15 21:25 hutaslspbf -rw-r--r-- 1 root root 14M Jan 3 17:25 initrd.img-3.16.0-0.bpo.4-686-pae -rw-r--r-- 1 root root 11M Jan 2 22:01 initrd.img-3.2.0-4-686-pae -rwxr-xr-x 1 root root 648K Jan 2 18:47 isrgzlchmx -rwxr-xr-x 1 root root 648K Dec 27 14:56 izytxsbskq -rwxr-xr-x 1 root root 648K Jan 5 18:40 kvvcqvddix -rwxr-xr-x 1 root root 648K Jan 1 11:19 ryrfvxjggh -rwxr-xr-x 1 root root0 Jan 5 19:08 sgopxfsiac -rw-r--r-- 1 root root 2.0M Dec 10 18:57 System.map-3.16.0-0.bpo.4-686-pae -rw-r--r-- 1 root root 1.6M Dec 8 00:36 System.map-3.2.0-4-686-pae -rwxr-xr-x 1 root root 648K Dec 30 20:40 ttqssdikcn -rwxr-xr-x 1 root root0 Dec 26 17:11 utxlhlmnix -rwxr-xr-x 1 root root0 Dec 12 07:29 vdqepbezvg -rw-r--r-- 1 root root 2.9M Dec 10 18:56 vmlinuz-3.16.0-0.bpo.4-686-pae -rw-r--r-- 1 root root 2.6M Dec 8 00:35 vmlinuz-3.2.0-4-686-pae -rwxr-xr-x 1 root root 648K Dec 31 17:30 wevzubbsgn -rwxr-xr-x 1 root root 648K Jan 1 09:46 xjeemjyuly -rwxr-xr-x 1 root root 648K Jan 1 17:10 zfmpizunja -rwxr-xr-x 1 root root 648K Jan 1 10:00 zkdjlvhuui -rwxr-xr-x 1 root root0 Dec 30 22:32 zpaqgbuxvr What bothers me is that the "other" files are all the same size (648k) as the suspected file I removed and they are very recent additions to the /boot directory. Thank You Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150106180456.GA8657@fever.havannah.local
Re: Have I been hacked?
Hi guys, I am afraid my happiness was short lived. To test if the deletion of the file (and the effects thereof) would be permanent I rebooted the system and consequently found another file (same size, same random lettering) booted up with everything else. :( ... The culprit is well hidden and regenerates itself ... I did "file -k", "grep -ir" and most of the other things you guys suggested, but nothing showed up. I am now going through the "after-compromise" chapter as one of you suggested. I will run "sleuthkit" and report if anything is found. However, I am afraid a backup and re-installation is on the horizon for me .. sigh . Can I make the "/etc/init.d" directory readable only with the contents thereof still executable ... untill I can properly back-up and install everything again? ... or maybe some other short term solution ... Thank You Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150106195126.GA8038@fever.havannah.local
Re: Have I been hacked?
> A stab in the dark, but is it possible this machine has services exposed to > the internet, and you'd not applied fixes against the recent shellshock bug? > Jip ... ssh, apache, postfix, popa3d ... come to think of it ... all the candy is available ... lol ... -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150106195319.GB8038@fever.havannah.local
Re: Have I been hacked?
this guy use a username that only he is familiar with ... Other usernames that were used: 3D, ssht and ftfl ... Also, attempts were made from China, Hong Kong, Belgium and Canada ... Anyway, I have decided to get new hardware and do a clean install of everything ... as many of you have suggested ... However, as I fly a lot internationally, is there a way I can temporarily block these country's IP's for a few days at most untill I have enough time on hand to do a fresh install ... Currently my iptables looks like this ... ### *nat :PREROUTING ACCEPT [73562:7321518] :INPUT ACCEPT [26916:2177387] :OUTPUT ACCEPT [80090:6554227] :POSTROUTING ACCEPT [0:0] #For squid to reroute HTTP trafic to port 80 -A PREROUTING -s 10.0.0.0/24 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128 -A PREROUTING -i wlan0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 10.0.0.5:3128 -A POSTROUTING -j MASQUERADE COMMIT *filter :INPUT ACCEPT [5927:1484640] :FORWARD ACCEPT [1571:107578] :OUTPUT ACCEPT [4983:1212852] -A INPUT -i eth1 -p tcp -m tcp --dport 80 -m state --state NEW,ESTABLISHED -j ACCEPT -A FORWARD -s 10.0.0.0/24 -i eth1 -o wlan0 -m conntrack --ctstate NEW -j ACCEPT -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT -A INPUT -p tcp -s 122.0.0.0/8 -j DROP -A INPUT -p tcp -s 61.0.0.0/8 -j DROP -A INPUT -p tcp -s 117.0.0.0/8 -j DROP -A INPUT -p tcp -s 103.0.0.0/8 -j DROP -A INPUT -p tcp -s 82.0.0.0/8 -j DROP -A INPUT -p tcp -s 204.0.0.0/8 -j DROP -A INPUT -p tcp -s 218.0.0.0/8 -j DROP COMMIT ### As you can see ... I am already DROPping some of these IP's ... I just need something to block an ENTIRE country ... Thank you ... and thanks to everyone replying ... I apreciate it ... Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150108205345.GA4732@fever.havannah.local
Re: Have I been hacked?
> If you want to inspect further, I would suggest you look at each of the > jobs being run. See if they are what you expect them to be. Also check > your /etc/crontab and /etc/anacrontab to see what is in them. I would love to investigate further but I am afraid I am not inclined towards forensics ... lol ... I am an Aircraft Engineer by trade not a Computer Scientist ... :) ... I played around with sleuthkit but that confused the living hell out of me ... lol ... I don't even know what to look for ... The server I have is a small community/family server that gives wireless access to poor families ... > > As for the attacks - I've seen a big uptake in the attacks over the last > couple of weeks. The worst I've seen is > 100 IP's locked out in one 24 > hour period. They are coming from all over the world, although since > there are a lot of proxies (many of them from trojans/viruses installed > on unsuspecting machines), there's no easy way to tell what the real > origins are. It's astonishing how quick they can find an IP ... > I have permanently blocked the IP ranges of some of the worst offenders, > but the only real way to stop it is to take your machine off the > internet completely. > > Just ensure you're using good security practices - don't allow root > login, use long, random passwords, etc. I also use a random character > strings for the login ids, as well as passwords - just one more thing > for the hackers to have to figure out how to get around. That's the problem right there ... random passwords ... lol ... but I will have to adapt ... Thank You -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150109162948.GA17386@fever.havannah.local
Re: Have I been hacked?
So Many?? > For instance here is a list of the blocks for Belgium: > http://www.nirsoft.net/countryip/be.html > > -Joris > Feel sorry for iptables ;) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150109163429.GB17386@fever.havannah.local
Re: Have I been hacked?
> Blocking a country which is famous for producing chocolate and beer. > What is the world coming to? rofl :) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150109163622.GC17386@fever.havannah.local
Re: Have I been hacked?
*me* < blushing > > Why? > > If you don't know anyone in China, don't pick up the phone. Why are > your services responding to them? > > You're not seriously telling us you're accepting user name and password > for ssh authentication from the Internet, are you? > Uhm ... yes ... (looking down ashamed ...) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150109163909.GD17386@fever.havannah.local
Re: Have I been hacked?
> > You have completely failed to understand what fail2ban is telling you. > > > Anyway, I have decided to get new hardware and do a clean install of > > everything > > ... as many of you have suggested ... > > It was heading that way so it is probably best for you. > You sound like a heartless Seargeant Major in the Marines ... ;) ... > > However, as I fly a lot internationally, is there a way I can temporarily > > block > > these country's IP's for a few days at most untill I have enough time on > > hand to do a fresh install ... > > What has flying got to do with it? > What I meant was that I fly a lot and don't have time in the immediate future to do a fresh install ... So I wanted a temporary stop-gap solution for a few days untill time would lend itself for the task ... > > Currently my iptables looks like this ... > > If you have resorted to using iptables you have lost it. A standard > Debian install doesn't need it. > Yip ... definately a Seargeant Major ... -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150109164451.GE17386@fever.havannah.local
Re: Have I been hacked?
> On 01/09/2015 11:29 AM, Danny wrote: > I am an Aircraft Engineer by trade not a Computer > Scientist > > Have you considered that alone would make you a tasty bit to hack, > and for that reason, if you have anything tasty on your machine, you > REALLY need to clear it up soonest with a complete re-install. I'd > add a measure of panic to that level of concern. No need for the > black hats to have access at all. :) Ric > Luckily for me I am one up on them ... I stash all juicy stuff under the mattress ... ;) ... -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150110215339.GA18991@fever.havannah.local
Re: Have I been hacked?
> afaik all you can do to block an entire country is drop all the ip > blocks assigned to them, which will be tedious. > For instance here is a list of the blocks for Belgium: > http://www.nirsoft.net/countryip/be.html > > -Joris > Thanks for the link ... just for fun I added China and Belgium to iptables and those 2 countries's ip address range/blocks added 20866 lines to iptables ... Now just imagine if I had to add Russia, Bangkok etc ... :) ... -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150110220621.GB18991@fever.havannah.local
Re: Have I been hacked?
Hi, I have read with interest all the responses and followed all the links. However, I realized something that I think we all (well, at least myself) forgot about ... and that is the importance of choosing a proper username ... Authentication (usually) is a 2 step process ... as we all know ... a username and a password ... and since ssh is (mostly) referred to here ... we can accept that it is most definately a 2 step process ... So ... if I know the username I am already halfway there ... I just need to get the OTHER remainig 50% (by breaking the password) ... and (like someone mentioned) it will take immensely long for someone to break a 10 (I think it was 10) character password ... then why is the importance of a good username ignored ... if I have a (creepy) username of 10 characters it will take a black hat twice as long to get what he wants ... or am I misleading myself (and others) here ... are we not putting too much emphasis/pressure on a good password where the pressure could be spread between the username AND password ... just asking ... Someone also mentioned black-hats ... I think that black-hats are a necessary evil ... just like lawyers ;) ... I understand some mechanical things better than others, like hydraulics and pneumatics ... mechanical engineering is no obstacle to me ... however ... I have difficulty in getting my head wrapped around things like squid, iptables, procmail, regexp ... some of you have no difficulty in any of these but have difficulty in mechanical stuff ... it is supposed to be like that ... when I think of black-hats I think of the green Matrix screen ... they are a special breed ... they see things that white hats don't see because it is their nature ... Just like car mechanics can tune/alter an engine so can black-hats tune alter a TCP/IP stream/payload ... Am I right in saying that there is actually nothing new when it comes to networking ... hear me out ... the internet (and most networks out there) still works on TCP/IP which is 40 odd years old (70's) ... a car mechanic only needs to know how an engine works ... you can bolt on many other things onto an engine and add a pletora of sensors to it but essentially it remains an engine ... if you understand the way an engine or an automatic/manual transmission works you can confidently service/overhaul any engine/transmission because they all are made up of the same stuff and they all work the same ... and this is my point with TCP/IP ... EVERYTHING is dumped on top of TCP/IP ... yet it remains the same ... a black hat only needs to know TCP/IP in order to knock on your door ... once he knocked on your door it means that he has found you ... he knows you are there ... all he has to do is look at the Matrix screen ... am I making sense? ... Have a nice day Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150113171319.GA31019@fever.havannah.local
Disable startup services on Debian 8
Hi guys, Recently one of the harddrives on my main Debian v7 backup server failed due to multiple power failures where I live. The power failures and spikes also fried the UPS's connected to the server. Along with the Debian v7 backup server I have smb servers (x4) running Debian v3 (why fix it if it ain't broken ;) ) 2x proftpd servers running Debian v3 ;) one Apache,Squid3 server on Debian v7. I bought a new harddrive and installed Debian v8 on it (which I regret). Nothing in Debian v8 seems to work together. After removing/purging all traces of bloatware (gnome/KDE etc etc) from the default install I configured and setup all necessary servers/daemons and stuff I need to re-instate the server to it's former glory. My problem is this though: hostapd used to work flawlessly on Debian v7 but now it does'nt. It complains that it cannot load the nl80211 driver (I know that the nl80211 driver is referenced by cfg80211/mac80211 which comes up on lsmod). But still, hostapd cannot load the driver. I removed ALL references/files/configs to wicd/Network-Manager and seemingly other files that could interfere with hostapd or that can prevent hostapd from bringing up wlan0. However, when I peeked into rc0/1/2/3/4/5/6.d (in an attempt to see what startups could possibly interfere) I was astounded at the amount of crap that is started up by Debian v8. (Devuan looks better day by day ;) ) Now, before I ditch my beloved Debian (hello Devuan or [INSERT OTHER DISTRIBUTION HERE]) could someone for the love of doughnuts and beef jerky tell me which services/daemons/crap I can disable ... PLEASE ... I am too scared to randonly disable stuff for fear of a Drone Strike as punishment for my insubordination and refusal to accept SystemD ... ;( Can I disable the user.slice stuff? acpid.path/service/socket avahi (which I disable but miraculously re-appears) bootmisc.sh dbus.* emergency.* hibernate.* all the mount.this and mount.that stuff? network.omline network.target network.pre-target remote.* rescue.* And finally ... how do I disable SystemD at boot and if that cannot be done maybe something simpler ... how do I disable Debian v8 at boot??? Any ideas??? I want my Debian Back the way it Was ! Have a nice day ... Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150609084425.GA15260@fever.havannah.local
Re: Setting up AP with hostapd
Hi, Did you eventually solve it? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150702143053.GA28280@fever.havannah.local
Bypassing lock files
Hi, I have an application that uses /dev/ttyS1 and creates a lock file in /var/lock ... however I need to inject extra data into /dev/ttyS1 via a bash script ... How would I go about "bypassing" the lock file in order for this script to inject the data? Any pointers? Thank you Danny
Re: Bypassing lock files
Thanks Tomas ... seems like I have some reading to do ... ;) ... On Dec 20 15, to...@tuxteam.de : > To: debian-user@lists.debian.org > Date: Sun, 20 Dec 2015 13:17:48 +0100 > From: to...@tuxteam.de > Subject: Re: Bypassing lock files > User-Agent: Mutt/1.5.21 (2010-09-15) > X-Loop: debian-user@lists.debian.org > > On Sun, Dec 20, 2015 at 12:00:39PM +0200, Danny wrote: > > Hi, > > > > I have an application that uses /dev/ttyS1 and creates a lock file in > > /var/lock > > ... however I need to inject extra data into /dev/ttyS1 via a bash script > > ... > > > > How would I go about "bypassing" the lock file in order for this script to > > inject the data? > > The lock is not mandatory, it's there just to support well-behaved > applications. > You can echo, cat, cp... whatever into /dev/ttyS1. That said, it's then your > responsibility to ensure you're getting the results you expect. > > Two applications writing into the same tty end up shuffling their output in > some semi-random way. > > Things to look out: check that the other application is (somehow) in a > quiescent state and that it has flushed its output buffer to some sensible > point (and isn't in the middle of something, e.g. a line or whatever). > > A more robust way of injecting things might be a filter which accepts the > input of your application, injects its stuff at appropriate "places" in the > stream and sends the combined stream to ttyS1. But it might be more work > too (but it might be as simple as sed/awk/perl/...). > > Regards > -- tomás
Problem with me Modem Huawei on Debian Lenny
Hi Christian, It looks like Vista and Windows 7 people are experiencing the same problem as you are. If you go to the www.huawei.com forum you will find a bunch of non linux people have more or less the same problem with communicating with this modem. Just a stupid question, can Debian see this modem? Do the following for a start just to see if Debian can see it : dmesg | more | grep --color -A1 'dev' It is a simple command but at least you will see if it is recognised Danny On Apr 23 10, Umarzuki Mochlis : > To: Christian Simo > Date: Fri, 23 Apr 2010 23:11:41 +0800 > From: Umarzuki Mochlis > Subject: Re: Problem with me Modem Huawei on Debian Lenny > X-Loop: debian-user@lists.debian.org > > i had done that once and documented it at http://umarzuki.org/blogku/?p=174 > > P/S: use google translate to translate from Malay to English > > On Fri, Apr 23, 2010 at 11:06 PM, Christian Simo wrote: > > Hi Dear Team > > Please, I am new on Debian, so I try to connect my Modem Huawei E1752 on > Debian Lenny. > On Suse, I do it easy > > Thanks for your response. > > Christian > > > > > -- > Regards, > > Umarzuki Mochlis > http://debmal.my -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100424191139.gh2...@fever.havannah.local
Quick Java Question
Hi guys, I have Debian 5.04 and have a little trouble with JRE. I downloaded the new JRE from Sun and installed it. But how do I tell firefox how to use the JRE ? Thanks Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100522093336.ga5...@fever
gettext upgrade woes
Hi guys, I am currently on Debian 5.04 and need to upgrade gettext from the current version to a newer one (im trying to upgrade DR17, and I get gettext errors). When I install gettext I get a LOT of dependency errors. Is there a way I can get gettext and the needed dependencies in one go? Thanks Danny (ps: apologies if this has been asked before) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100617133257.ga12...@fever
Bantam backpack on Toshiba T4500C
My brother-in-law loaned me his aging 486 Toshiba laptop since he had failed to install RedHat on it. It seems that the minimum install for RedHat far exceeds the 120Mb disk it has. I decided to try a minimal installation of Debian Slink. This machine has a 120Mb HD and 12 MB RAM, so this is a bit of an experiment to see whether something "interesting" (in this case "interesting" == X + graphical browser + (some of) WordPerfect + ppp). The first snag: the Bantam backpack cdrom drive (attached to the parallel port) doesn't appear to be recognized by the installation kernel. I tried: mount -t iso9660 /dev/hd[bcdefg] /mnt ... where [bcdefg] represents several attempts, and was told this wasn't recognized as a block device. I then went to the modules portion of the installation menu, and tried installing modules for parallel ports. No luck. Any suggestions? Also (anticipating future challenges...) any ideas on what video card/chipset, hsync and vsync I'll need to indicate for configurring X? Thanks in advance Danny Heap [EMAIL PROTECTED] [EMAIL PROTECTED]
Re: Bantam backpack on Toshiba T4500C
Thanks a lot for your help. I'm still stuck, but (perhaps) making progress. > Install the base system from floppies. DO NOT configure the > 'paride' (parallel port) modules into the kernel. When it comes > time to install the packages, do this: Okay, I've installed from floppies, then invoked 'modconf' to remove all modules except 'psaux' and 'serial'. The only way I found to dump the pcmcia modules was 'dpkg --purge pcmcia-cs'. So, at this point, lsmod shows: Module Pages Used by serial 8 0 psaux 1 0 > make the parallel port cdrom device (pcd0 on my Datastor EP2000 cdrom, YMMV) There is a /dev/bpcd which suggests a BackPackCD, and it's a block device. What do you mean to 'make' it --- should I invoke MAKEDEV or something? > rmmod lp (if you've installed it) > insmod paride > insmod (dstr for my Datastor EP2000 cdrom) > insmod (pcd0 for my Datastor EP2000 cdrom) > mount -t iso9660 -r /dev/ /mnt No lp module running, and I do 'insmod paride; insmode bpck': paride: version 1.02 installed paride: bpck registered as protocol 0 # lsmod ... bpck4 0 paride 1 [bpck] 1 ... mount -t iso9660 -r /dev/bpcd /mnt mount: the kernel does not recognize /dev/bpcd as a block device (maybe 'insmod driver'?) Any other suggestions? I power the backpack up first and put the cd in (an amber light flashes). I then power up the laptop --- does this seem right?
Re: Bantam backpack on Toshiba T4500C
I can now mount my Bantam Backpack cd from my Toshiba T4500C laptop. Thanks to George Sollish and www.torqe.net for their help. What worked was to load modules paride, bpck, and pcd and *then* to use the script at www.torqe.net to make the appropriate devices under /dev. It seems completely implausible that a new user would go to these lengths --- indeed RedHat 5.1 installation asks if your CD is local, then load a module it calls bpcd and attaches it to /dev/hdd. Is this hardware so non-standard that Debian doesn't expect neophytes to be installing from it? Danny Heap [EMAIL PROTECTED] [EMAIL PROTECTED]
new to Debian, want to install
I am tired of Bill and his Microsoft and want to install Debian. I ordered the 2CD-ROM set and need help in really understanding what I am getting into and how to install Debian. Any assistance would be greatly appreciated. Thanks in advance, Danny Thompson -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
java and netscape
I've installed netscape 3.01 using the debian package "netscape" 3.01-4. There's a note in /usr/doc/netscape about crashes with java that suggests a work-around using an old version of libc (5.0.9). Where would I fetch the old library from? Also, suggested is an old version of libXext.so.6.0. TIA Danny Heap [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
aic7xxx corrupts superblock?
+++ Aug 3 14:56:05 riel syslogd 1.3-0#6: restart. Aug 3 14:56:05 riel kernel: klogd 1.3-0, log source = /proc/kmsg started. Aug 3 14:56:06 riel syslogd 1.3-0#6: restart. Aug 3 14:56:06 riel kernel: Cannot find map file. Aug 3 14:56:06 riel kernel: Console: colour EGA+ 80x25, 1 virtual console (max 63) Aug 3 14:56:06 riel kernel: Calibrating delay loop.. ok - 33.55 BogoMips Aug 3 14:56:06 riel kernel: Serial driver version 4.11 with no serial options enabled Aug 3 14:56:06 riel kernel: tty00 at 0x03f8 (irq = 4) is a 16550A Aug 3 14:56:06 riel kernel: tty01 at 0x02f8 (irq = 3) is a 16550A Aug 3 14:56:06 riel kernel: Floppy drive(s): fd0 is 1.44M Aug 3 14:56:06 riel kernel: FDC 0 is a post-1991 82077 Aug 3 14:56:06 riel kernel: aha274x: extended translation disabled Aug 3 14:56:06 riel kernel: AHA284X AT SLOT 1: Aug 3 14:56:06 riel kernel: irq 11 Aug 3 14:56:06 riel kernel: bus release time 40 bclks Aug 3 14:56:06 riel kernel: data fifo threshold 100% Aug 3 14:56:06 riel kernel: SCSI CHANNEL A: Aug 3 14:56:06 riel kernel: scsi id 7 Aug 3 14:56:06 riel kernel: scsi bus parity check enabled Aug 3 14:56:06 riel kernel: scsi selection timeout 256 ms Aug 3 14:56:06 riel kernel: scsi bus reset at power-on enabled Aug 3 14:56:06 riel kernel: scsi0 : Adaptec AHA274x/284x (EISA/VL-bus -> Fast SCSI) 1.28/1.11/1.29 Aug 3 14:56:06 riel kernel: scsi : 1 host. Aug 3 14:56:06 riel kernel: aha274x: target 0 now synchronous at 4.0Mb/s Aug 3 14:56:06 riel kernel: Vendor: TOSHIBA Model: CD-ROM XM-3501TA Rev: 3384 Aug 3 14:56:06 riel kernel: Type: CD-ROM ANSI SCSI revision: 02 Aug 3 14:56:06 riel kernel: Detected scsi CD-ROM sr0 at scsi0, id 0, lun 0 Aug 3 14:56:06 riel kernel: aha274x: target 3 now synchronous at 5.0Mb/s Aug 3 14:56:06 riel kernel: Vendor: HPModel: HP35470A Rev: T503 Aug 3 14:56:06 riel kernel: Type: Sequential-Access ANSI SCSI revision: 02 Aug 3 14:56:06 riel kernel: Detected scsi tape st0 at scsi0, id 3, lun 0 Aug 3 14:56:06 riel kernel: aha274x: target 6 now synchronous at 10.0Mb/s Aug 3 14:56:06 riel kernel: Vendor: CONNERModel: CFP1080S Rev: 3939 Aug 3 14:56:06 riel kernel: Type: Direct-Access ANSI SCSI revision: 02 Aug 3 14:56:06 riel kernel: Detected scsi disk sda at scsi0, id 6, lun 0 Aug 3 14:56:06 riel kernel: scsi : detected 1 SCSI tape 1 SCSI cdrom 1 SCSI disk total. Aug 3 14:56:06 riel kernel: SCSI Hardware sector size is 512 bytes on device sda Aug 3 14:56:06 riel kernel: Memory: 15072k/16384k available (604k kernel code, 384k reserved, 324k data) Aug 3 14:56:06 riel kernel: This processor honours the WP bit even when in supervisor mode. Good. Aug 3 14:56:06 riel kernel: Swansea University Computer Society NET3.019 Aug 3 14:56:06 riel kernel: Swansea University Computer Society TCP/IP for NET3.019 Aug 3 14:56:06 riel kernel: IP Protocols: ICMP, UDP, TCP Aug 3 14:56:06 riel kernel: Checking 386/387 coupling... Ok, fpu using exception 16 error reporting. Aug 3 14:56:06 riel kernel: Checking 'hlt' instruction... Ok. Aug 3 14:56:06 riel kernel: Linux version 1.2.13 ([EMAIL PROTECTED]) (gcc version 2.6.3) #2 Thu Jul 11 20:26:36 PDT 1996 Aug 3 14:56:06 riel kernel: Partition check: Aug 3 14:56:06 riel kernel: sda: sda1 sda2 sda3 < sda5 sda6 sda7 > sda4 Aug 3 14:56:06 riel kernel: VFS: Mounted root (ext2 filesystem) readonly. Aug 3 14:56:06 riel kernel: Adding Swap: 32764k swap-space Aug 3 14:56:06 riel kernel: CSLIP: code copyright 1989 Regents of the University of California Aug 3 14:56:06 riel kernel: PPP: version 2.2.0 (dynamic channel allocation) Aug 3 14:56:06 riel kernel: PPP Dynamic channel allocation code copyright 1995 Caldera, Inc. Aug 3 14:56:06 riel kernel: PPP line discipline registered. Aug 3 14:56:06 riel kernel: lp1 at 0x0378, using polling driver Aug 3 15:00:15 riel syslogd: exiting on signal 15 +++++ Any ideas on how to fix this? Thanks in advance. Danny Heap, UCSF, California St., Room 102, SF CA, 94122 [EMAIL PROTECTED], voice: (415) 476-8910, fax: (415) 476-1508
install disk with aic7xxx patch
I want to install debian 1.1 on a pentium with an adaptec 2940 UW scsi controller. Unfortunately, my installation seems to be stymied by the aic7xxx driver that comes with kernels 2.0.0 through 2.0.6, resulting in completely corrupted filesystems once I've gotten to the point of installing the base system and rebooting. On another machine I have compiled kernel 2.0.7 plus the aic7xxx patch (Jul22/96) that seems to fix this problem (for an older VLB with aha2842). What I would like to do is use this patched kernel on my "boot" installation disk. As far as I can tell, none of the current boot disks incorporate this patch. How do I either modify an existing boot installation disk, or make my own, to incorporate this patch? Failing that, does anybody have any ideas on how to work-around the driver problem? I tried installing debian 0.93R6, but it doesn't recognize this (rather new) controller at all. Thanks for any ideas ---- Danny Heap, UCSF, California St., Room 102, SF CA, 94122 [EMAIL PROTECTED], voice: (415) 476-8910, fax: (415) 476-1508
Re: block pings
On Tue, 29 Aug 2000, Nick wrote: > how do you stop linux from replying to pings like > > microsoft does. you can't ping www.microsoft.com or www.msn.com > > thankx nick OK, I got curious since it involves icmp, so it's not done in /etc/inetd.conf, and I didn't know how to do it. All I can say is RTFM, it's right there in the icpm man page that I tried first. Just put this in /etc/sysctl.conf to turn ping replies off: net/ipv4/icmp_echo_ignore_all=1 Then run # sysctl -p But after that you should really go back to /etc/sysctl.conf and get rid of it again (hint: it involves running sysctrl again :-). What the hell, -- Danny Pansters [EMAIL PROTECTED]
Re: howto recreate /dev/null ?
On Fri, 01 Sep 2000, Will Trillich wrote: > On Thu, Aug 31, 2000 at 08:58:43PM -0700, Jeremiah Hunter Savage wrote: > > Okay, > > > > This is definitely a newbie question. I keep on reading about sending > > things to /dev/null. So I thought I would give a try: > > > > mv file /dev/null > > > > Yes I was root. > > So how do I recreate /dev/null? > > hmm. i'm a second-iteration newbie, so i may be off base. > i'll give it a try, anyhow. > > are you saying you DO NOT ALREADY have a 'null' entry under > the '/dev' directory? it's hard for me to believe. if you > truly don't have any such item, i'm not sure how to create > it; but it shoula been created when you formatted your > linux/unix system... [very big albeit interesting snip] No he's saying he replaced his /dev/null with that file! The original post made me laugh, no comments on this one ;-) Greetz, Dan -- Danny Pansters [EMAIL PROTECTED] www.ricin.com
Re: sound blaster live
I'm not sure about SB Live, but shouldn't it also work as es1371 just like SB128? or does it have a different chipset? -- Danny Pansters [EMAIL PROTECTED] www.ricin.com
Re: FTP and Firewall
On Fri, 01 Sep 2000, Christoph Simon wrote: > > Hi all, > > > > I've three machines behind a firewall provided by IP Masquerading (all > > machines running Potato). One of this machines is a web server updated > > by Windows Users by FTP. > > > > The problem is that conections provided inside a IP Masquerading > > environment can't transfer files. But in your homes (using a real IP > > connection) he can. > > > > Any hints? > > Did you consider running a proxy? BTW ftp through IP_masq should work. > > Christoph Simon > [EMAIL PROTECTED] I happen to have the same problem. I have a cable connection and from my gateway box running potato I can't seem to get a decent FTP transfer from my workstation box running woody and either ftpd or wu-ftpd. I run ip forwarding and masquerading on the gateway box. The local net is masqueraded as the "outer" IP# of the box connected to the cable ISP. All works well, I have the box load the masq modules for ftp and the like (even icq) on start-up; all but ftp'ing to my workstation from my gateway box. Same problem. Que? Anyone? Dan -- Danny Pansters [EMAIL PROTECTED] www.ricin.com
Re: Please remove me from the subscription list......
On Sat, 02 Sep 2000, Pollywog wrote: > On 01-Sep-2000 [EMAIL PROTECTED] wrote: > > Please remove me from the subscription list.Thank > > [EMAIL PROTECTED] > > U Just follow the instructions below, which appear at the bottom > of all posts. > > > -- > > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < > > /dev/null LOL -- Danny Pansters [EMAIL PROTECTED] www.ricin.com
Re: What are the Essential Packages?
On Sat, 02 Sep 2000, I. Tura wrote: > The fastest way I use is: > > > Download the file /dists/stable/main/binary-i386*/Packages.gz > > *Or your architecture > > Uncompress it and search there the packages you'll need. keywords: > sawmill > or wmaker for the window managers, for example. You'll need the packages > that the window manager depends on. You also need the file (bon't remember > location) base2.2.tgz for the base. > > You'll need the floppies in /dists/stable/main/disks-i386/ > > > Note: the name of the base file and the locations can be inaccurate, but > near from they. > > > Don't know if I'm missing something... > Hmm, well the first thing I'd want to do is compile a custom kernel. I wouldn't go for the X stuff at first but rather install the (minimal) base system, then joe (favorite editor) and mc to finish setup and then (although through apt preferably) I install binutils, ncurses, gcc and stuff needed to compile a kernel from menuconfig to get all hardware working and set finish up. If it boots well again and stufgf works, I install whatever i need through apt including X (I happen to prefer kde so I'd apt kde2) Of course this is just my preference, maybe here's an interesting discussion.. how to initially set up a debian system. In my case I use a cable modem which basically means I can get away with two disks and a lot of apting... anyhow I think it makes sense to initially narrow down your packages installs as much as possible. Greetings to everyone, Dan -- Danny Pansters [EMAIL PROTECTED] www.ricin.com
Re: linux telephony?
This might have been said earlier in this thread (in which case I apologise), but I think there is a HOWTO on Linux Telephony.. $ cd /usr/doc/HOWTO/en-txt $ zless LINUX_TELEPHONY_OR_THE_LIKE.gz I don't think it's trivial though. Dan -- Danny Pansters [EMAIL PROTECTED] www.ricin.com
Re: Strange KDE2 Language Problem after recent update, help pls.
I run kde2 from the deb packages provided at kde.tdyc.com, I use apt to update them, kde2 works well (bit slow though). Did you try to dpkg --purge any international kde packages (the ones that are about other charsets/languages)? I think something might be broken there (?) -- Danny Pansters [EMAIL PROTECTED] www.ricin.com
gtk/libpixmap?
Friday I decided to refsck my filesystems and start clean (every year or two seems a good time to clean my accumulated cruft out). I'm now plagued with gtk warnings like this one for many of my gtk programs: Gtk-WARNING **: Unable to locate loadable module in module_path: "libpixmap.so" What do I need to do to fix this ? I'm running Woody (and have been for as long as woody has been around) and am not at all averse to compiling things to fix it. I thought it was a gnome-libs library...however, I'm not sure of that, since programs like gtk-licq are complainging also. If it takes just recompiling gtk+-1.2.8 to fix it...that's fine too, however, I'm trying to break myself of accumulating non-dpkg installed stuff on my system (see cruft above). Thanks Danny Barron
Re: I hosed my network
"No route to host" seems kinda weird, but since you can ping I don't think theres anything wrong with your hardware. Anyway, I like it when people RTFM, maybe I can be of some help. loki:/etc# netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 204.145.251.52 0.0.0.0 255.255.255.255 UH0 0 0 ppp0 127.0.0.1 0.0.0.0 255.255.255.255 UH0 0 0 lo 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 204.145.251.52 0.0.0.0 UG0 0 0 ppp0 (I also don't like the double lo appearance in the other machines routing) I'm missing an important piece of info: was your ppp0 interface up when trying to ftp between your two boxes and does it work ok, do you have Internet connectivity? It looks like the ppp is wrong. With a 0.0.0.0 netmask you don't set any network bits for the interface, this might explain why your ping -b did something (also note the longer ping time when pinging themselves) Do you want to ping broadcast? Then -b ^^ PING 192.168.1.0 (192.168.1.0) from 192.168.1.2 : 56 data bytes 64 bytes from 192.168.1.2: icmp_seq=0 ttl=255 time=0.5 ms 64 bytes from 192.168.1.2: icmp_seq=1 ttl=255 time=0.4 ms 64 bytes from 192.168.1.2: icmp_seq=2 ttl=255 time=0.4 ms 64 bytes from 192.168.1.2: icmp_seq=3 ttl=255 time=0.4 ms Note that .1 doesnt respond (it should also, al least mine does with a "DUP!" note). Does your /etc/host.conf have order bind,hosts (should be hosts,bind unless you're really doing exotic things on purpose) in it? Are you running bind yourself? (don't) Anyway, you should be using params like these: .1 has an eth .1, no default gateway, the ppp interface should have its gateway set to its Internet IP address (dynamically if needed) or (better) to one of your ISP's router IPs. It should have the .2 box in its /etc/hosts file and it should have your ISPs DNS numbers in its /etc/resolv.conf. Ask them for the netmask you should use and then use it (or x.x.255.255 or so if you have no further info) on the ppp interface. Use the default entries for the lo device on both boxes, also leave the IP spoofing part in place in /etc/init.d/networking. Make sure /etc/host.allow and .deny are set up the way you want it, enable .2 to do stuff and keep the rest out. Now .2 might want to have .1 as its gateway, that way (if you enable ip forwarding and masquerading on .1) you can use .1's Internet connection (I presume this is the final goal?). Don't use .1's Internet IP number anywhere in your setup, instead for .2, the Internet connectivity should be provided by .1 You can (and should unless your .1 runs bind) enter your ISP's nameservers in /etc/resolv.conf Don't change the /etc/init.d/networking script too easily, instead use /etc/network/interfaces and the like, and restart the daemon everytime by # /etc/init.d/networking stop # /etc/init.d/networking start (I rather not use reload). If you'll do ipchains rules for your local net, /etc/init.d/networking might be a good place for that. I think it's easier to check the setups once again than to find the exact problem from diagnostic output. I don't believe you have a hardware problem and certainly not an IRQ problem!! The networking HOWTO will likely be needed. Good luck, -- Danny Pansters [EMAIL PROTECTED] www.ricin.com
Re: stupid question
On Sun, 03 Sep 2000, Dave Sherohman wrote: > If going back and forth between 'in X' and 'at a text console, but with X > still running offscreen' is good enough for you, try Ctrl-Alt-Fn (for n = > 1-6)i and Alt-F7 to get back to X. If you feel the need to go between > 'in X' and 'X not running', then getting rid of *dm is appropriate (though > you could also use `/etc/init.d/*dm stop`, do your console stuff, and > `/etc/init.d/*dm start`). Exactly, then you can kill your xdm and your X and look into the problem at the first place. (then apt-get remove xdm ;-) -- Danny Pansters [EMAIL PROTECTED] www.ricin.com
Re: Help with Installation...
Did you try to run xf86config (the console app), I've sometimes been having trouble getting my ps2 mouse to work w/ xf86setup while after getting at least that part straight with xf86config it appeared as "already set before" in xf86setup which allowed me to finish my setup. btw. xf86config isnt as hard as it seems, give it a go. good luck, -- Danny Pansters [EMAIL PROTECTED] www.ricin.com
Re: Help with Installation...
Sorry there, I didn't read everything, you've already tried that. -- Danny Pansters [EMAIL PROTECTED] www.ricin.com
Re: strange /var/log/messages
On Mon, 04 Sep 2000, William Jensen wrote: > Anyone have any idea what this is: > > Sep 3 17:17:30 stimpy -- MARK -- > Sep 3 17:37:30 stimpy -- MARK -- > Sep 3 17:57:30 stimpy -- MARK -- > Sep 3 18:17:30 stimpy -- MARK -- > Sep 3 18:37:30 stimpy -- MARK -- > > I see those all day long. -- I have those too, I don't believe they mean anything bad is going on, but I also would like to know what exactly this is. I always thought it were kernel messages relating to memory swapping or network checks or something. Thanks, Danny Pansters [EMAIL PROTECTED] www.ricin.com
Re: Burn in an ethernet device
Hi Adrian, On Tue, 05 Sep 2000, Adrian Nims wrote: > I recompiled the kernel, I introduced an "append" line in lilo.conf in > order to burn in an ethernet device. At reboot, the sistem (debian) see the > ethernet board as eth0, everything seems OK but after boot, when i say > "ifconfig" it appears to me only the loopback device. >What must I do in order to make this ethernet device running and give it > an IP address ? You shouldn't use append unless you need to get a second eth card working (and even so, I'm pretty sure it's only needed for pre-2.2.x kernels). The eth0 should than become the card with the lowest hardware address, the other would become eth1. As I said, you don't need this. Just remove the append from lilo.conf, run lilo (!!) and add your eth0 with its IP number and the like in /etc/network/interfaces. Then restart the networking daemon; /etc/init.d/networking stop|start You can also experiment by using the ifconfig program on the command line. Debian 2.2 differs a bit from 2.1, the ifconfig is a little different also. Check the man page. Good luck, -- Danny Pansters [EMAIL PROTECTED]
Re: Filesystem layout and hi everybody
Hi, this might be a bit off-topic, but I've read in several manuals that a swap over 128 MB doesn't make much sense, but I never understood why. Can anyone enlight me on that? I'm using 128 MB of RAM and have a 128 MB swap, which is fine, but pretty soon I'll be putting together a server box which will hold 512 MB RAM and now I'm kinda wondering what to do with the swap size. Of course it doesn't matter to add a few hundred megs to it, but is it useful? -- Danny Pansters [EMAIL PROTECTED] www.ricin.com
gcl 2.2.1-6 "truncate" broken
We recently installed gcl 2.2.1-6 on our intel machines. The "truncate" function is broken, as shown by the example below (from the gclinfo page). Should we downgrade to a version that works, or what? Thanks for any suggestions. Danny Heap gibbs.med.utoronto.ca - Below I run an example from the gcl info pages, but the resulting output doesn't resemble that in the info pages. - $ gcl GCL (GNU Common Lisp) Version(2.2.1) Fri Sep 24 14:42:27 EDT 1999 Licensed under GNU Public Library License Contains Enhancements by W. Schelter >(dolist (n '(2.6 2.5 2.4 0.7 0.3 -0.3 -0.7 -2.4 -2.5 -2.6)) (format t "~&~4,[EMAIL PROTECTED] ~2,' D ~2,' D ~2,' D ~2,' D" n (floor n) (ceiling n) (truncate n) (round n))) +2.6 0 3 0 0 +2.5 0 3 0 0 +2.4 0 3 0 0 +0.7 0 1 0 0 +0.3 0 1 0 0 -0.3 -1 0 0 0 -0.7 -1 0 0 0 -2.4 -1 -2 0 0 -2.5 -1 -2 0 0 -2.6 -1 -2 0 0 NIL > -
Re: KDE debs
Hi everyone, The kde.tdyc.com Woody tree for kde2 has been emptied, I'm sure of it because I used to apt kde2 from there. I happened to have been reinstalling my Woody box from scratch yesterday (the 6th), starting from a couple of potato disks. All went well, but when it came to installing kde2 binaries I had to use the potato branch instead. One would expect it to be the same packages, but I doubt if everything is cleanly organized at the moment; at least the kde2 install wasn't good, it froze on startup with its dcopserver not starting. I had to revert to kde1.1.2 because I couldn't solve it. I did also compile kde2 from source a week or two ago. You need to compile qt2.2 first. It worked but wasn't very stable; at least I could use konqueror and koffice from within kde1.1.2. Binary deb packages are of course much easier. Anyway, I hope that the kde2 debs will be added to the normal debian mirrors soon and hopefully they'll recompile them and check their cooperation with the normal Debian X scripts. Debian is the only distro, I'm afraid to say, that gave me and for some reason is continuing to give me troubles with kde. I certainly hope the most recent and fully incomprehensible RMS rants against the kde project (*after* the GPL'ing of qt was announced - see yesterday's slashdot) have nothing to do with this, otherwise I just might switch to Slackware or freebsd. If anyone knows anything more about this I'd be more than happy to hear about it. Best regards, Danny
Re: SB Live & kernel sound
On Thu, 07 Sep 2000, Michael Soulier wrote: > On Thu, 7 Sep 2000, Jonathan Wheelhouse wrote: > > > Some people say to install from unstable the debs for ALSA and then > > run alsaconf. A couple of questions - I could change my sources to > > point at unstable but I don't want to upgrade to woody so how do I get > > just the debs for ALSA without upgrading? > > I'm using kernel 2.2.17, and I have a SB Live! Value card. I just > grabbed the Creative Labs module source, built it, and modprobed it > in. Done. > You could also build a new 2.2.17 and either build support into your kernel or build it as module. The sb-live is right there, in the sound section. Install kernel-source-2.2.17_blahblah_.deb, unzip/tar it to /usr/src, go into the extracted main directory and run 'make menuconfig'. You might need some extra packages to do so, make, binutils, bin86, ncurses-dev come to mind. Then you choose your hardware and for stuff like sound you just compile it straight away to one big happy kernel (option: X) by 'make dep clean install' after the configuration is done. Or you can build it as module (option M in the menuconfig) and run 'make modules' and 'make modules_install' after kernel compilation and installation is done. This is just the "linux way", its not Debian specific. If you know which hardware drivers you need, building a kernel isn't hard at all and you can get rid of many features that only eat memory because you don't use them. For example, I use a scsi hd, cdrom, cdrw and floppydrive, so why would I have IDE drivers in my kernel... thats why I ditch everything I don't need. Personally, I prefer to have a monolithic kernel that exactly supports my box and nothing more, but opinions about this differ. Now I'm not saying you should compile all your software (I sure don't), but brewing a custom kernel is something every linux user can and should learn IMHO. Besides, its fun. BTW: It's likely you don't need to enter IRQ or IO values for your soundcard; if you do, building as a module is preferred, so you can tweak it with modprobe. Also I *think* the ALSA system is only for modules, not for built-in sound support but I'm not very knowledgable about alsa. I would not recommend using the woody alsa debs on a potato system. Dan
OTP
There is (otp) for generating one-time passwords. Is there a debian package for implementing OTP? Thanks. Danny Heap [EMAIL PROTECTED]
fsplit
Dear community, Does anyone know whether the fsplit utility is packaged? (fsplit splits binary or source files in more likable pieces). Thanks. ---Danny LathouwersInterfaculty Reactor InstituteDelft University of TechnologyMekelweg 15, 2629 JB DelftThe Netherlands Email: [EMAIL PROTECTED]Tel: +31 15 2781192Fax: +31 15 2786422
soundblaster PCI 128 driver
Dear community, I've got a soundblaster audio PCI 128 card. It should be supported but the names of the device drivers did not appear to include this particular name. I also reviewed this list and saw that people had used the es1370 or alsa driver. Perhaps someone can shed some light on what device driver to actually use. Thanks. ---Danny LathouwersInterfaculty Reactor InstituteDelft University of TechnologyMekelweg 15, 2629 JB DelftThe Netherlands Email: [EMAIL PROTECTED]Tel: +31 15 2781192Fax: +31 15 2786422
execution of shell scripts from cdrom
Dear community, I wanted to execute a shell script from /cdrom and it fails with the following message: bash: ./scriptname: Permission denied. The script is executable and is run as root, so should work. Copying the script to ~ works but i really need to run it from /cdrom. Does this have anything to do with ro mounting of the cdrom (removing it from fstab did not help as the write protection is recognized and it is still mounted ro). What's the problem here ? Thanks. ---Danny LathouwersInterfaculty Reactor InstituteDelft University of TechnologyMekelweg 15, 2629 JB DelftThe Netherlands Email: [EMAIL PROTECTED]Tel: +31 15 2781192Fax: +31 15 2786422
big tapes, disks
We are considering a scsi tape drive for our debian alpha. Has anbody used HP T24i DAT drives? Can I assume that it understands standard scsi tape driver commands, and works with mt and tar/dump /dev/nst0 or whatever? On a related note, has anybody used the large IDE hard drives (20, 28, 36 GB?). Are there any special problems to be aware of? Thanks for any help Danny Heap [EMAIL PROTECTED]