Question, extending snmpd
List, I have a private MIB for a custom hardware platform that I need to include in an snmp agent on my Woody Debian/Linux OS. I have been reading up on using mib2c to create a .h and .c file. Then compiling this output into the snmpd agent. My goal is to have a local snmpd_xxx.custom.i386.deb package that I can include in a production system without needing to carry around the snmpd development environment. What I really would like to know is- 1- Is there already a FAQ on the Debian way to extend snmpd? If not, 2- At what level should I capture my changes? A- Capture my PRIVATE-MIB.txt into a custom-source.deb group. B- Capture my .h .c files into a custom-source.deb group. C- Capture my snmpd into a custom-bin.deb file. 3- What is the Debian way to move through the steps listed above? A- Where should I locate the MIB? B- What snmp-dev packages do I need? C- How do I repackage this into a binary .deb? 4- Am I missing anything? (Like an easier way to do this thing?) Any answers of RTFM will be gladly accepted as long as they come with a reference to the location of the FM :-) -- Bill Do or do not. There is no try. Yoda -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: horde
Quoting Mike Egglestone [EMAIL PROTECTED]: Hi, yes, have it working with sid only. It was kinda of a pain to get going, but once up, it works good. You can either download the debs from www.debian.org or just apt-get install them. Cheers, Mike Quoting Expert User [EMAIL PROTECTED]: Has anybody tried 2.1 horde with 3.1 imp on debian? It was released very recently. Does anybody know if .debs for these new releases are available? where? thanks, horde = horde 1.2.6 imp = imp 2.2.6 horde2 = horde 2.0.99 imp3 = imp 3.0.99 I did have problems getting the mysql configured and running, but it IS worth the effort. -- Bill -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Problem with nut and Cyberpower 1250AVR
Quoting Peter S Galbraith [EMAIL PROTECTED]: Brenda J. Butler [EMAIL PROTECTED] wrote: Not sure if you already solved this but: On Sun, Apr 28, 2002 at 01:52:20PM -0500, Bill Bell wrote: I have a Cyberpower 1250AVR connected to /dev/ttyS1 on my up-to-date Sid maching running nut. When I run /etc/init.d/nut start the shell just hangs with- I have a Cyberpower 650SL and I'm using powstatd. Plus powstatd was written for Cyberpower UPSes, so they work well with it. Peter Powstatd works as advertised for the Cyberpower UPS. (I just tried it out this weekend, thanks). I was trying to get nut to work because I have a second computer running the other OS which nut has a client for. Both machines are running off of this same UPS. Well, the important box is running woody so it looks like powstatd it is. -- Bill C.R.E.A.M. Dark Angel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Problem with nut and Cyberpower 1250AVR
Hello all, I have a Cyberpower 1250AVR connected to /dev/ttyS1 on my up-to-date Sid maching running nut. When I run /etc/init.d/nut start the shell just hangs with- Starting Network UPS Tools: I need to break out with Ctrl-C to get back to the shell. Then I get the remaing- Starting Network UPS Tools: /lib/nut/cyberpower-ttyS1 upsd upsmon. Grepping a ps command shows that both /sbin/upsd and /sbin/upsmon are running. nut sends the following to syslog upsd[...]: Warinig: Data for UPS [myups] is stale - check driver upsd[...]: Startup successful upsd[...]: Connection from 127.0.0.1 upsmon[...]: Startup successful upsmon[...]: Poll UPS [EMAIL PROTECTED] failed - Data stale upsmon[...]: UPS [EMAIL PROTECTED] is unavailable upsmon[...]: Poll UPS [EMAIL PROTECTED] failed - Data stale ... Here are the things I know (have tried). 1- The UPS and supplied cable are good, (works with supplied software from Windows). 2- /dev/ttyS1 is the correct port. I moved the mouse from ttyS0 to S1 and configured gpm to make sure. (of course I moved it back when done with test:) 3- /dev/ttyS1 is 660 root.nut 4- /lib/nut/cyberpower is 750 nut.nut 5- nut version is 0.45.5 and Cyberpower driver is experimental. Reading list archives at http://lists.exploits.org/upsdev/ shows lots of activity on this UPS. upsd.conf UPS myups /lib/nut/cyberpower-ttyS1 cyberpower /dev/ttyS1 upsmon.conf MONITOR [EMAIL PROTECTED] 1 nut_pass master I thought I would start with Debian User before I bother the nut list. It looks like the the Cyberpower driver should be working (to some extent) from all the messages on the list. Thanks for any help. -- Bill C.R.E.A.M. Dark Angel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Dummy Packages
Quoting martin f krafft [EMAIL PROTECTED]: also sprach Charles Baker [EMAIL PROTECTED] [2002.04.15.2247 +0200]: Can someone point me to a dock that will help me create a dummy package? I want to install velocity as a deb, but it requires libxalan2-java which is available. However, libxalan2-java depends on java2-runtime which is not, but I do have a Java2 environment installed. BTW, this is on a machine running sid. So what I'm after is a dummy java2-runtime package which points to my local java2 install. apt-get install equivs cd /usr/share/doc/equivs/ read -- martin; (greetings from the heart of the sun.) \ echo mailto: !#^.*|tr * mailto:; [EMAIL PROTECTED] the micro$oft hoover: finally, a product that's supposed to suck! I just installed java-virtual-machine-dummy from Woody today. With one quick edit to /etc/java-vm.conf (I think) I was up and running JDK2-1.3. -- Bill C.R.E.A.M. Dark Angel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: apache/php...feeling like an idiot
Quoting Matthew Daubenspeck [EMAIL PROTECTED]: On Sun, Apr 07, 2002 at 10:36:06PM -0400, Jeff Maxson wrote: so, in attempts to learn some things, I want to get the seemingly standard apache/php/mysql trio on my box all playing nicely. I now have mysql on pretty peachy, and apache seems to spew out the html documents I want. I have apt-got php4 and php4-mysql and a couple other things as well. However, if I try to get my apache server to serve up a php file, all the browsers I've tried pop-up a file save as screen wanting me to download this file. I believe there is something goofy in my /etc/apache/httpd.conf file in that I am not loading some modules the right way. To get this working, 1) which modules need to be loaded for apache to work like it should with php? 2) once the proper changes are made to the httpd.conf file, how do I activate my changes? apachectl restart 3) is the problem not in the httpd.conf file? 4) is there something I need to apt-get that would have configured this correctly out-of-the-box (during the apt-getting installation?) Shouldn't. Both the potato and woody versions I have used worked directly out of the box after I restarted apache. I have had this after a manual edit on my httpd.conf file. Make sure that the DirectoryIndex line includes index.php3 and index.php entries. example: IfModule mod_dir.c DirectoryIndex index.html index.htm manual.html index.shtml index.cgi index.php3 index.php /IfModule -- Bill C.R.E.A.M. Dark Angel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: passwd segfaulting
Quoting Eric-Olivier Lamey [EMAIL PROTECTED]: On Sun, Feb 03, 2002 at 06:53, [EMAIL PROTECTED] wrote: Hello, Hi, I am running up to date woody on a small firewall box. I have had this problem for some time where passwd ALWAYS segfaults when it is called. I have searched archives, looked at the /etc/passwd to see if it may be corrupt. I have password shadowing turned on and cannot find any problems in the shadow files. Please help me. I need some ideas on were to look next for this problem. I recently had the same problem after editing /etc/passwd manually. It turns out I had forgotten a : after an empty gecos field. Check carefully if all the lines are correct. What does 'getent passwd' says ? What does 'strace passwd' says ? -- Eric-Olivier Lamey -- I have included output from getent and strace. I looked through the /etc/passwd file trying to find any errors as you describe, (no luck yet). I am not sure how the /etc/passwd-, /etc/shadow and /etc/shadow- files play into this. Is it possible that one of these files could contain the error that would cause this segfault? Thanks for the help. -- Bill C.R.E.A.M. Dark Angel --tigger:/etc# getent passwd root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/bin/sh bin:x:2:2:bin:/bin:/bin/sh sys:x:3:3:sys:/dev:/bin/sh sync:x:4:100:sync:/bin:/bin/sync games:x:5:100:games:/usr/games:/bin/sh man:x:6:100:man:/var/cache/man:/bin/sh lp:x:7:7:lp:/var/spool/lpd:/bin/sh mail:x:8:8:mail:/var/mail:/bin/sh news:x:9:9:news:/var/spool/news:/bin/sh uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh proxy:x:13:13:proxy:/bin:/bin/sh majordom:x:30:31:Majordomo:/usr/lib/majordomo:/bin/sh postgres:x:31:32:postgres:/var/lib/postgres:/bin/sh www-data:x:33:33:www-data:/var/www:/bin/sh backup:x:34:34:backup:/var/backups:/bin/sh msql:x:36:36:Mini SQL Database Manager:/var/lib/msql:/bin/sh operator:x:37:37:Operator:/var:/bin/sh list:x:38:38:SmartList:/var/list:/bin/sh irc:x:39:39:ircd:/var:/bin/sh gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats/gnats-db:/bin/sh identd:x:100:65534::/var/run/identd:/bin/false cyrus:x:101:8:Cyrus User,,,:/var/spool/cyrus:/bin/false snort:x:102:101:Snort IDS:/var/log/snort:/bin/false mysql:x:103:102:MySQL Server:/var/lib/mysql:/bin/false reboot:x:1000:1000:dog,,,:/home/reboot:/bin/bash grlind:x:1001:1001:Gregg,,,:/home/grlind:/bin/bash nobody:x:65534:65534:nobody:/home:/bin/sh tigger:/etc# tigger:~# strace passwd execve(/usr/bin/passwd, [passwd], [/* 14 vars */]) = 0 uname({sys=Linux, node=tigger, ...}) = 0 brk(0) = 0x804f120 open(/etc/ld.so.preload, O_RDONLY)= -1 ENOENT (No such file or directory) open(/etc/ld.so.cache, O_RDONLY) = 3 fstat64(3, 0xbfffef24) = -1 ENOSYS (Function not implemented) fstat(3, {st_mode=S_IFREG|0644, st_size=16024, ...}) = 0 old_mmap(NULL, 16024, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000 close(3)= 0 open(/lib/libcrypt.so.1, O_RDONLY)= 3 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\20..., 1024) = 1024 fstat(3, {st_mode=S_IFREG|0644, st_size=20900, ...}) = 0 old_mmap(NULL, 183740, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001a000 mprotect(0x4001f000, 163260, PROT_NONE) = 0 old_mmap(0x4001f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0x4001f000 old_mmap(0x4002, 159164, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4002 close(3)= 0 open(/lib/libpam.so.0, O_RDONLY) = 3 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\24..., 1024) = 1024 fstat(3, {st_mode=S_IFREG|0644, st_size=29420, ...}) = 0 old_mmap(NULL, 32428, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40047000 mprotect(0x4004e000, 3756, PROT_NONE) = 0 old_mmap(0x4004e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6000) = 0x4004e000 close(3)= 0 open(/lib/libpam_misc.so.0, O_RDONLY) = 3 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\f\0..., 1024) = 1024 fstat(3, {st_mode=S_IFREG|0644, st_size=7500, ...}) = 0 old_mmap(NULL, 10508, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4004f000 mprotect(0x40051000, 2316, PROT_NONE) = 0 old_mmap(0x40051000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x40051000 close(3)= 0 open(/lib/libdl.so.2, O_RDONLY) = 3 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\244\34..., 1024) = 1024 fstat(3, {st_mode=S_IFREG|0644, st_size=9436, ...}) = 0 old_mmap(NULL, 12364, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40052000 mprotect(0x40054000, 4172, PROT_NONE) = 0 old_mmap(0x40054000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x40054000 close(3)= 0 open(/lib/libc.so.6, O_RDONLY)= 3 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0(\327\1..., 1024) = 1024
Re: passwd segfaulting
Quoting Larry Holish [EMAIL PROTECTED]: On Sun, Feb 03, 2002 at 06:53:17AM -0600, [EMAIL PROTECTED] wrote: Hello, I am running up to date woody on a small firewall box. I have had this problem for some time where passwd ALWAYS segfaults when it is called. I have searched archives, looked at the /etc/passwd to see if it may be corrupt. I have password shadowing turned on and cannot find any problems in the shadow files. Please help me. I need some ideas on were to look next for this problem. Have you tried the /usr/sbin/pwck command? This command verifies the integrity of the /etc/passwd and /etc/shadow files. See the manpage for more info. -- Larry Holish [EMAIL PROTECTED] -- Here is the output from pwck. It looks like I just have a few missing home directories for these accounts. tigger:/etc# pwck user news: directory /var/spool/news does not exist user uucp: directory /var/spool/uucp does not exist user majordom: directory /usr/lib/majordomo does not exist user postgres: directory /var/lib/postgres does not exist user msql: directory /var/lib/msql does not exist user list: directory /var/list does not exist user gnats: directory /var/lib/gnats/gnats-db does not exist user cyrus: directory /var/spool/cyrus does not exist pwck: no changes -- Bill C.R.E.A.M. Dark Angel
Re: passwd segfaulting Sovled
Quoting Eric-Olivier Lamey [EMAIL PROTECTED]: On Sun, Feb 03, 2002 at 02:42, Bill Bell wrote: I have included output from getent and strace. I looked through the /etc/passwd file trying to find any errors as you describe, (no luck yet). I am not sure how the /etc/passwd-, /etc/shadow and /etc/shadow- files play into this. Is it possible that one of these files could contain the error that would cause this segfault? I don't think /etc/passwd- and /etc/shadow- are even opened by 'passwd'. The output from 'getent' seems to be correct. The 'strace' output is weird: open(/etc/passwd, O_RDONLY) = 3 fcntl(3, F_GETFD) = 0 fcntl(3, F_SETFD, FD_CLOEXEC) = 0 fstat(3, {st_mode=S_IFREG|0644, st_size=1251, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000 _llseek(3, 0, [0], SEEK_CUR)= 0 read(3, root:Xy13e.n9hX7WU:0:0:root:/roo..., 4096) = 1251 Hmmm, it seems that your /etc/passwd contains your encrypted root password. If I 'strace passwd' on my computer (running sid), I never get a line like that, always 'root:x:0:0: It doesn't even seem to open '/etc/shadow', I don't understand. What is the content of your /etc/nsswitch.conf, /etc/pam.d/other and /etc/pam.d/passwd files ? -- Eric-Olivier Lamey I started compairing these files you listed above between my Sid machine (working) and the broken Woody box. I found that /etc/pam.d/passed was an exact copy of /etc/passwd on the Woody box. The Sid box had a totally different /etc/pam.d/passwd file (attached). On the Woody box I found the correct backup file in /etc/pam.d/passwd.orig. I moved this into /etc/pam.d/passwd and all is well! Perhaps one of the Woody updates broke this file at some time in the past. Thanks for the help. tigger:/etc/pam.d# cat passwd # # The PAM configuration file for the Shadow `passwd' service # # The standard Unix authentication modules, used with NIS (man nsswitch) as # well as normal /etc/passwd and /etc/shadow entries. For the login service, # this is only used when the password expires and must be changed, so make # sure this one and the one in /etc/pam.d/login are the same. The nullok # option allows users to change an empty password, else empty passwords are # treated as locked accounts. # # (Add `md5' after the module name to enable MD5 passwords the same way that # `MD5_CRYPT_ENAB' would do under login.defs). # # The obscure option replaces the old `OBSCURE_CHECKS_ENAB' option in # login.defs. Also the min and max options enforce the length of the # new password. password required pam_unix.so nullok obscure min=4 max=8 # Alternate strength checking for password. Note that this # requires the libpam-cracklib package to be installed. # You will need to comment out the password line above and # uncomment the next two in order to use this. # (Replaces the `OBSCURE_CHECKS_ENAB', `CRACKLIB_DICTPATH') # # password required pam_cracklib.so retry=3 minlen=6 difok=3 # password required pam_unix.so use_authtok nullok md5 -- Bill C.R.E.A.M. Dark Angel
Re: Strange reboot
I have had this same problem when a RAM Simm went bad on me. I turned on extended memory checking in the BIOS and saw RAM errors at boot time. Replaced the SIM and all was well. Quoting David B. van Balen [EMAIL PROTECTED]: Did you build the computer yourself or have someone do it for you? My parents bought a cheap computer from some people that were building them themselves and had lots of trouble with spontaneous reboots... just a thought. On 22 May 2001 09:53:26 +0100, Cliff Rowley wrote: Very strange. I am currently at work, ssh'd into my network at home. I telnetted over to my workstation, and expected to pick up a screen session. Unfortunately, the machine must have reset at around 5am (according to uptime). Same Debian/kernel versions. Cliff Rowley The reader this message encounters not failing to understand is cursed. - while (!asleep) { code(); } On Mon, 21 May 2001, Cheng H. Lee wrote: Hi all, I was wondering whether any one could explain why my machine would spontaneously reboot itself. It's a Debian unstable box running kernel 2.4.4. Personally I suspect some sort of issue with the kernel itself. I doubt that the machine has been broken into since absolutely nothing has shown up in my logs, no port scans, no TCP/IP connections, nothing in my Apache and proftpd logs. Any thoughts? Thanks for the help, Cheng -- Bill C.R.E.A.M. Dark Angel
Re: 3c509 with 2.4.0 kernel and sid (solved)
Hello, I found that by recompiling the kernel with the 3c509 as a module and loading the 3c509.o, all networking is back up. Thanks everyone for the ideas. -- Bill C.R.E.A.M. Dark Angel Quoting Bill Bell [EMAIL PROTECTED]: Hello Sebastiaan, I have the 3c509 driver compiled into the kernel. One of the early problems I had with this system is that if I tried to use a loadable module for these cards, I could not get them both to be reconized. I seem to remember that a 2.2.x kernel read-me (or even 2.0.x) told me to fix this by loading the driver from the kernel and using lilo.conf to pass in the correct parameters. It is very possible that by moving to the 2.4.0 kernel, my original problem has gone away without my trying to find out. I will reconfigure my system tonight and try loading them as modules. Thanks for the ideas, -- Bill C.R.E.A.M. Dark Angel Quoting Sebastiaan Hi, is it vital that both cards are loaded at boottime? What happens when you insmod the second card? How does the kernel behave when compiling the cards in? Perhaps you can try to leave the ',eth0' and ',eth1' at the bootline and let the kernel figure it out itself? Greetz, Sebastiaan On Fri, 26 Jan 2001, Bill Bell wrote: Hello all, I have a dual NIC system using two 3c509 cards. This configuration has been working well under sid with a 2.2.18 kernel (my current system). I have been trying to move up to a 2.4.0 kernel and I am having problems. My problem is when booting with the 2.4.0 kernel, both NIC cards have the wrong media port enabled. The boot message is saying something like Coax port instead of 10baseT port. This is the lilo.conf append line I use to get both cards working for the 2.2.18 kernel. append=ether=10,0x300,eth0 ether=11,0x310,eth1 When I remark out this append line, run lilo, and boot the 2.4.0 kernel, eth0 gets configed correctly with the 10baseT port enabled, but eth1 is not found. Some of the things I have tried- RTFM docs under /usr/src/linux/Documentation/networking searching the debian user list archives searching www.kernel.org documentation other various FAQs on the web Possible problems as a guess- 1) I am missing a new append ether='parameter' 2) There is a better way to use the ether= line 3) 2.4.0 kernel has a bug in the 3c509 driver (?) More info- I have PnP turned off in both the BIOS and on both NICs. Thanks for any and all suggestions. -- Bill C.R.E.A.M. Dark Angel
Re: Boot prompt fails to show other
Quoting Kent West [EMAIL PROTECTED]: When I boot up and press the left Shift key, followed by TAB, the only option listed is Linux. This is despite the fact that I have Win95 on another partition, and that I've configured /etc/lilo.conf to see it, and have run lilo, which reports Adding Linux* / Adding Windows. Here's my lilo.conf: boot=/dev/hda3 root=/dev/hda3 compact install=/boot/boot-menu.b delay=20 map=/boot/map append= read-only image=/vmlinuz label=Linux other=/dev/hda1 label=Windows table=/dev/hda Any clues? Thanks! KEnt -- Kent, Try running the following and post the results if there is no change. # lilo -v -- Bill C.R.E.A.M. Dark Angel
3c509 with 2.4.0 kernel and sid
Hello all, I have a dual NIC system using two 3c509 cards. This configuration has been working well under sid with a 2.2.18 kernel (my current system). I have been trying to move up to a 2.4.0 kernel and I am having problems. My problem is when booting with the 2.4.0 kernel, both NIC cards have the wrong media port enabled. The boot message is saying something like Coax port instead of 10baseT port. This is the lilo.conf append line I use to get both cards working for the 2.2.18 kernel. append=ether=10,0x300,eth0 ether=11,0x310,eth1 When I remark out this append line, run lilo, and boot the 2.4.0 kernel, eth0 gets configed correctly with the 10baseT port enabled, but eth1 is not found. Some of the things I have tried- RTFM docs under /usr/src/linux/Documentation/networking searching the debian user list archives searching www.kernel.org documentation other various FAQs on the web Possible problems as a guess- 1) I am missing a new append ether='parameter' 2) There is a better way to use the ether= line 3) 2.4.0 kernel has a bug in the 3c509 driver (?) More info- I have PnP turned off in both the BIOS and on both NICs. Thanks for any and all suggestions. -- Bill C.R.E.A.M. Dark Angel
Re: 3c509 with 2.4.0 kernel and sid
Hello Sebastiaan, I have the 3c509 driver compiled into the kernel. One of the early problems I had with this system is that if I tried to use a loadable module for these cards, I could not get them both to be reconized. I seem to remember that a 2.2.x kernel read-me (or even 2.0.x) told me to fix this by loading the driver from the kernel and using lilo.conf to pass in the correct parameters. It is very possible that by moving to the 2.4.0 kernel, my original problem has gone away without my trying to find out. I will reconfigure my system tonight and try loading them as modules. Thanks for the ideas, -- Bill C.R.E.A.M. Dark Angel Quoting Sebastiaan Hi, is it vital that both cards are loaded at boottime? What happens when you insmod the second card? How does the kernel behave when compiling the cards in? Perhaps you can try to leave the ',eth0' and ',eth1' at the bootline and let the kernel figure it out itself? Greetz, Sebastiaan On Fri, 26 Jan 2001, Bill Bell wrote: Hello all, I have a dual NIC system using two 3c509 cards. This configuration has been working well under sid with a 2.2.18 kernel (my current system). I have been trying to move up to a 2.4.0 kernel and I am having problems. My problem is when booting with the 2.4.0 kernel, both NIC cards have the wrong media port enabled. The boot message is saying something like Coax port instead of 10baseT port. This is the lilo.conf append line I use to get both cards working for the 2.2.18 kernel. append=ether=10,0x300,eth0 ether=11,0x310,eth1 When I remark out this append line, run lilo, and boot the 2.4.0 kernel, eth0 gets configed correctly with the 10baseT port enabled, but eth1 is not found. Some of the things I have tried- RTFM docs under /usr/src/linux/Documentation/networking searching the debian user list archives searching www.kernel.org documentation other various FAQs on the web Possible problems as a guess- 1) I am missing a new append ether='parameter' 2) There is a better way to use the ether= line 3) 2.4.0 kernel has a bug in the 3c509 driver (?) More info- I have PnP turned off in both the BIOS and on both NICs. Thanks for any and all suggestions. -- Bill C.R.E.A.M. Dark Angel
RE: 3c509 with 2.4.0 kernel and sid
Hello Joris, I am sure all the NIC network config paramerters are good under /etc/network/interfaces. You are correct though, I am trying to find the correct option to send in from the lilo.conf append= line to force the the 10baseT media port on, (if there is one :-). This has been the target of my searchs and RTFMs so far. Thanks, -- Bill C.R.E.A.M. Dark Angel Quoting Joris: Hi, Isn't this just a netconfiguration issue ? At install of a debian system you can pass parameters to the module such as the media port (bnc,utp) i think you should read something on that instead. Don't really know where you should configure that. Dive into those How-To's :) Greets, Joris -Original Message- From: Bill Bell [mailto:[EMAIL PROTECTED] Sent: Friday, January 26, 2001 7:28 AM To: debian-user@lists.debian.org Subject: 3c509 with 2.4.0 kernel and sid Hello all, I have a dual NIC system using two 3c509 cards. This configuration has been working well under sid with a 2.2.18 kernel (my current system). I have been trying to move up to a 2.4.0 kernel and I am having problems. My problem is when booting with the 2.4.0 kernel, both NIC cards have the wrong media port enabled. The boot message is saying something like Coax port instead of 10baseT port. This is the lilo.conf append line I use to get both cards working for the 2.2.18 kernel. append=ether=10,0x300,eth0 ether=11,0x310,eth1 When I remark out this append line, run lilo, and boot the 2.4.0 kernel, eth0 gets configed correctly with the 10baseT port enabled, but eth1 is not found. Some of the things I have tried- RTFM docs under /usr/src/linux/Documentation/networking searching the debian user list archives searching www.kernel.org documentation other various FAQs on the web Possible problems as a guess- 1) I am missing a new append ether='parameter' 2) There is a better way to use the ether= line 3) 2.4.0 kernel has a bug in the 3c509 driver (?) More info- I have PnP turned off in both the BIOS and on both NICs. Thanks for any and all suggestions. -- Bill C.R.E.A.M. Dark Angel
Re: hp laserjet4plus
Quoting paul taylor [EMAIL PROTECTED]: I have a hp laserjet4plus. Setup seemed to recognize it but printcap only lists a generic printer. I need the printcap script for this printer or some way of getting back into setup or install to make this as my printer in debian. currently no lr or cr and if I use it to print from netscape the printer shoots out blank pages until it runs out of paper or the kill command is given. I see it listed as a problem but I have never seen a an answer posted. thanks Paul, Here is the printcap I use for my Ethernet connected LaserJet 4Plus. hp4|hplj4 :\ :cm=HP LJ 4+ :\ :ifhp=model=hp4plus :\ :lp=%P%9100 :\ :if=/usr/lib/filters/ifhp :\ :of=/usr/lib/filters/ofhp :\ :sd=/var/spool/lpd/%P :\ :lf=log:\ :af=acct :\ :mx=0:\ :sf My printing subsystem is using LPRng 3.6.12-1 and ifhp 3.3.10-3. The :of line may be the line for the crlf that could be missing from you setup. (It has been a long time since I have done much printer setups :) -- Bill C.R.E.A.M. Dark Angel
pump, dhcp question
Hello all, I have a box which is using mostly woody and I have a quesiton about using pump as a DHCP client. Documentation for pump is scarce, perhaps because functionality is limited. How do I run a script each time pump refreshes it's information? I would like to continue using pump,(it is working well for me), but if one of the other DHCP client packages is the answer, I could use dhcp-client or dhcpcd. -- Bill C.R.E.A.M. Dark Angel
Re: pump, dhcp question
Quoting Nathan E Norman [EMAIL PROTECTED]: On Thu, Jan 04, 2001 at 05:04:41PM -0600, Bill Bell wrote: Hello all, I have a box which is using mostly woody and I have a quesiton about using pump as a DHCP client. Documentation for pump is scarce, perhaps because functionality is limited. How do I run a script each time pump refreshes it's information? Did you read the man page? It says: ] CONFIG FILE ]Pump supports a simple configuration file which lets you ]tune its behavior. ] ... ]script executable-filename ] ] ] When events occur in negotiation with the server, ] calls the given executable or script. Scripts are ] called when a lease is granted, when a renewal is ] negotiated, and when the interface is brought down ] and the address released. The scripts are called ] with two or three arguments, depending on the con- ] dition, as documented in the table above. Now, I notice the table isn't there. It is in the man-page source though ... here's what it says: ] Condition arg1arg2arg3 ] - --- --- --- ] lease up eth01.2.3.4 ] renewal renewal eth02.3.4.5 ] release downeth0 So in the case of a renewal teh script should expect 'renewal', dev, ip as the three args. Have fun, -- Nathan Norman - Staff Engineer | A good plan today is better Micromuse Inc. | than a perfect plan tomorrow. mailto:[EMAIL PROTECTED] | -- Patton I did read this, but now I have a better understanding of it. Thanks for the pointer. -- Bill C.R.E.A.M. Dark Angel
www.debian.org
Wow! The Debian home page, (http://www.debian.org), just suggested to my broswer, M$IE 5, that I install the Chinese font set. Looks like M$ found another way to break the standards? I don't seem to be able to set the default browser language so the Debian home page comes up in EN. Any ideas? BTW, The site really looks cool in Chinese. - Bill So many good sigs out there, which one to use?
Re: www.debian.org
It looks like this is the default I am seeing when I go to debian.org. I can't tell for sure though. http://www.debian.org/index.zh.html Quoting Shao Zhang [EMAIL PROTECTED]: Hi, What do you mean you can see debian home page in Chinese?? Is there acutally a Chinese version of the debian homepage?? On Sun, Apr 18, 1999 at 12:35:20PM -0500, Bill Bell wrote: Wow! The Debian home page, (http://www.debian.org), just suggested to my broswer, M$IE 5, that I install the Chinese font set. Looks like M$ found another way to break the standards? I don't seem to be able to set the default browser language so the Debian home page comes up in EN. Any ideas? BTW, The site really looks cool in Chinese. - Bill So many good sigs out there, which one to use? -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null -- Shao Zhang - Running Debian 2.1 ___ _ _ Department of Communications/ __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _ University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` | Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, | Email: [EMAIL PROTECTED] |___/ _ - Bill So many good sigs out there, which one to use? - End forwarded message - - Bill So many good sigs out there, which one to use?
Fwd: Re: Perl Instruction
A site that I like as a starting page for many languages. http://www.program.com/ Quoting [EMAIL PROTECTED]: Does anyone know if there are any good sites on the web for learning perl? I really want to learn it soon, but don't have any extra money to buy any books right now. Thanks, chris -- --Bill So many good sigs out there, which one should I use? - This mail sent through IMP: http://web.horde.org/imp/
Multi IP's on interface
Hello, Is it possible, and if so how, to support two IP's on a single interface card? I thought I have seen this somewhere. I am trying to put a 192.168.2.x on my eth1 which is the same interface that connects to my bridge and my Internet connection. I want to get to the management utility on the bridge without broadcasting the bridges management IP on the Internet. Another option may be to set up a route from my internal subnet on eth0, (192.168.1.x) to eth1, (206.xxx.xxx.xxx) where eth1 also has visability to a 192.168.x.x address. Any ideas on either method? Other options? I am looking for something simple, and somewhat secure from the outside world. Thanks, Bill Bell
Re: ISP connect
From: eferen1 [EMAIL PROTECTED] To: Bill Bell [EMAIL PROTECTED] Subject: Re: ISP connect Date: Tue, 16 Feb 1999 16:50:25 - Yes it did help! Thank you. I can now connect, but have to find the address for www.Netscape.com. Thanks for your help. :-) -Original Message- From: Bill Bell [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Cc: debian-user@lists.debian.org debian-user@lists.debian.org Date: Tuesday, February 16, 1999 15:35 Subject: RE: ISP connect I have USED MSN untill recently. I found that I needed to give my user name in the following format: MSN/user_name (including the quotes for chatscript) This may help. Bill Bell I use the KDE window to configure dial-up settings. I have reconfigured the connect script to this: noauth. Should be fine That is the only line in the script. I connect through MSN which requires a PAP login. I did not put a DNS number in hoping maybe it would configure this dynamically. The IP is set to dynamic negotiation. No, you need to enter the DNS, unless they use dhcp to give out DNS. When it does connect initially, I get a terminal window asking for a login. I send my login name and then it asks for a password. I send that and it comes back with bad password. Does anyone else connect their machine through MSN? If so, how'd you do it? Cant help much beyond that. __ Get Your Private, Free Email at http://www.hotmail.com __ Get Your Private, Free Email at http://www.hotmail.com
Web email packages question
Hello, What packages are available that would allow me to get to my email from the web server on my system? This is for a single user or two and a dedicated Internet connection. I am running- Debian 2.1 (2.2.1 kernel:) fetchmail exim Apache Thanks, Bill Bell
RE: ISP connect
I have USED MSN untill recently. I found that I needed to give my user name in the following format: MSN/user_name (including the quotes for chatscript) This may help. Bill Bell I use the KDE window to configure dial-up settings. I have reconfigured the connect script to this: noauth. Should be fine That is the only line in the script. I connect through MSN which requires a PAP login. I did not put a DNS number in hoping maybe it would configure this dynamically. The IP is set to dynamic negotiation. No, you need to enter the DNS, unless they use dhcp to give out DNS. When it does connect initially, I get a terminal window asking for a login. I send my login name and then it asks for a password. I send that and it comes back with bad password. Does anyone else connect their machine through MSN? If so, how'd you do it? Cant help much beyond that. __ Get Your Private, Free Email at http://www.hotmail.com
TAR command question
Could someone give me a tar command that I can use to backup my Debian 2.0 system to a compressed file? I will ftp this backup file to another system after it has been written. I have RTFM for tar, but after several tries, I have not created a file that I trust. Thanks in advanced, Bill Bell More than just email--Get your FREE Netscape WebMail account today at http://home.netscape.com/netcenter/mail
Re: [Re: TAR command question ]
Thanks, I am reading more into the command than I needed. olly@lfix.co.uk wrote: Bill Bell wrote: Could someone give me a tar command that I can use to backup my Debian 2.0 system to a compressed file? I will ftp this backup file to another system after it has been written. I have RTFM for tar, but after several tries, I have not created a file that I trust. To archive a directory and everything under it into a compressed tar file called archive.tar.gz: tar czf /path/to/archive.tar.gz /path/to/directory -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 My son, if sinners entice thee, consent thou not. Proverbs 1:10 More than just email--Get your FREE Netscape WebMail account today at http://home.netscape.com/netcenter/mail
Re: Dumb Terminals
To: debian-user@lists.debian.org From: [EMAIL PROTECTED] Subject: Re: Dumb Terminals Date: 30 Jul 1998 21:58:33 +0200 Reply-To: [EMAIL PROTECTED] In article [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: I have some old computers that I would like to use as dumb terminals. I was wondering if someone could point me to a good howto or faq on how to set this up or perhaps give me some tips and or help. Among a zillion other things this is covered in the Serial-HOWTO, which you probably have on your system as /usr/doc/HOWTO/Serial-HOWTO.gz. You need a terminal program on the computer you want to use as a terminal. Connection by a null-modem cable. Actual configuration on the Linux host side is trivial. You need to tell init(8) to spawn a getty on that particular serial port. Enter an appropriate entry in /etc/inittab. There's an example there. E.g., I use: T6:23:respawn:/sbin/getty -hL ttyS6 38400 vt320 -L tells getty that this is a local line, i.e. not connected to a modem, -h tells it to use RTS/CTS flow control (not required but recommended). Then there's the serial port, which is probably ttyS0 or ttyS1 unless you have a multi-port card, the speed and terminal type. For the latter two, use what your dumb terminal (or emulation thereof) supports. After editing /etc/inittab you need to tell init(8) to re-read its configuration file. The telinit q command will do this. -- Christian naddy Weisgerber [EMAIL PROTECTED] See another pointless homepage at URL:http://home.pages.de/~naddy/. -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null Please correct me if I am not understanding the question, but I belive you originally asked if the connection to the dumb device could be done without a cpu/OS (PC) between the dumb station and the server. I would not even begin to guess how to make a monitor/keyboard/mouse talk serial, (or any other way), to a server without some form of cpu. Bill (Reboot) Bell __ Get Your Private, Free Email at http://www.hotmail.com -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: Bug reporting proceedure, was Re: Bug#24066: libc6: rsh segfaults as , a result of new libc 2.0.7r2
Hello everyone, I would like to add my comments to this discussion. I am new to Linux. I have been using the Debian, (Hamm), distribution for about two months now, and Slink for the last couple of days. I am a Windoz drop-out with UNIX sys-adin experience. Being so new to Linux and Debian, I feel my input to a REAL bug is minimum. By the time I find I have a problem, this community has identified the problem, fixed it and are putting it out to the mirrors! I have personally found that if I have a problem, I just wait a few hours, update my system and I am back on the road. Someday I WILL be a REAL contributor to this wonderful effort, but today I am just having fun with the basic stuff. Please continue the interesting conversation, but don't forget, a Linux newbie may really be NEW! Bill Bell [EMAIL PROTECTED] To: Dale Scheetz [EMAIL PROTECTED] Cc: Manoj Srivastava [EMAIL PROTECTED], Rob Browning [EMAIL PROTECTED], debian-devel@lists.debian.org, debian-user@lists.debian.org, debian-policy@lists.debian.org Subject: Re: Bug reporting proceedure, was Re: Bug#24066: libc6: rsh segfaults as , a result of new libc 2.0.7r2 From: John Goerzen [EMAIL PROTECTED] Date: 15 Jul 1998 14:48:56 -0500 Dale Scheetz [EMAIL PROTECTED] writes: Suggesting, even strongly, that it is proper proceedure when submitting a bug, to research the bug reporting system first, and provide useful information second, doesn't seem onerous to me, and has several practical uses for the bug submitter, as well as the maintainer. I disagree. When I am doing an upgrade, I may notice a number of bugs. Perhaps I can log on to a terminal next to the computer I'm upgrading and submit bug reports. However, I do not have time to check the bug logs and webpages (which may be out-of-date, remember). Sometimes (often, actually, for me) the Internet connection is slow. I use Debian at work and I'm not paid to research the Debian bug logs when, for instance, X suddenly breaks because KDE has removed the /etc/X11/Xsession file. (Still haven't received a reply to this one yet, and it's in hamm!) Merging bugs is not that hard, but it also doesn't provide any bookkeeping advantages to the maintainer. The bugs still get reported in the problems report separately. Nags still come separately. This requires that the maintainer keep records of which bugs have been merged. Well then we ought to fix those reporting mechanisms. I am only suggesting that we make clear that the socially correct way to report a bug involves adequate research on the part of the bug reporter. We can SUGGEST this as before. However, I will be Very Upset if people start complaining at me because I filed bug reports without checking the webpages first after a particularly frustrating upgrade experience that took three times longer than it should have because people delete me config files or fail to put a read at the end of their postinst and important information goes whizzing by the screen. This requirement provides additional service to the user at the same time that it provides the maintainer with more chance to fix the problem. I feel that I'm already helping out the project by reporting a bug. I often don't have time to figure out the problem and end up deleting packages if they're non-essential -- or doing some quick hack to fix it. BTW, while we're on this topic, I am ASTOUNDED at the number of packages that display messages in postinst but don't prompt for Enter keypress -- the messages then scroll by. Even though policy requires a prompt. -- John Goerzen Linux, Unix consulting programming [EMAIL PROTECTED] | Developer, Debian GNU/Linux (Free powerful OS upgrade) www.debian.org | + Visit the Air Capitol Linux Users Group on the web at http://www.aclug.org -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null __ Get Your Private, Free Email at http://www.hotmail.com -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
xfstt startup issue
Hello, Sorry I do not have the original message to respond to. I have just moved from debian-user-digest to debian-user. I may have missed the last day of this thread. I also am using xfstt to serve my TrueType fonts. It is not all that bad a package. Problem is there is no startup with the Xfstt 0.9.7. Documentation is almost none. I am running an up-to-date Hamm system. So here is my very first hack. I used the /etc/init.d/xfs for a base and created the file /etc/init.d/xfstt, (bottom of message). I modifid /etc/X11/config to mirror the xfs entry. I used XFSTT in upper-case here due to test conflicts between the init.d xfs and xfstt scripts. (bad hacking) Then using the SysV Init Editor in KDE I added the xfstt just below the xfs lines. xfstt needs be running before xdm, (in my case anyway). Begin /etc/init.d/xfstt +++ #!/bin/sh # /etc/init.d/xfstt: start or stop the True Type X font server set -e PATH=/bin:/usr/bin:/sbin:/usr/sbin DAEMON=/usr/bin/X11/xfstt test -x $DAEMON || exit 0 test -f /etc/X11/config || exit 0 if grep -q ^xbase-not-configured /etc/X11/config then exit 0 fi run_xfstt=0 if grep -q ^start-XFSTT /etc/X11/config then run_xfstt=1 fi case $1 in start) if [ $run_xfstt = 1 ] then echo -n Starting X TT font server: xfstt start-stop-daemon --start --quiet --exec $DAEMON echo . fi ;; restart) $0 stop $0 start ;; stop) if [ $run_xfstt = 1 ] then echo -n Stopping X TT font server: xfstt start-stop-daemon --stop --quiet --name xfstt --exec $DAEMON echo . fi ;; *) echo Usage: /etc/init.d/xfstt {start|stop|restart} exit 1 ;; esac exit 0 + end /etc/init.d/xfstt This is my /etc/X11/config + # This file contains configuration flags for the X Window System. # For a description of the meanings of the flags, see # /usr/doc/X11/README.Debian run-xconsole allow-user-resources allow-user-modmap allow-user-xsession allow-failsafe use-sessreg #start-xfs start-XFSTT start-xdm + end /etc/X11/config Links setup in /etc/rc2.d 15 Jul 8 1998 S11xfs - /etc/init.d/xfs 17 Jul 8 1998 S12xfstt - /etc/init.d/xfstt 15 Jul 8 1998 S20xdm - /etc/init.d/xdm This was just a quick fix. If someone would like to tune this up I would be greatfull. This worked for me. Please use it carefully. I did lock my system hard if xfstt was not running when xdm starts up! Good luck, Bill Bell (reboot) a Linux newbee __ Get Your Private, Free Email at http://www.hotmail.com -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: xfstt
Date: Thu, 9 Jul 1998 10:33:39 -0400 From: Stephen J. Carpenter [EMAIL PROTECTED] To: debian-user@lists.debian.org Subject: Re: xfstt On Wed, Jul 08, 1998 at 07:16:45PM +0300, Jaakko Niemi wrote: I have xfstt font server thing installed and functioning. I was just wondering if I can have that load on boot. If so which file do I edit. Check that you have '/etc/init.d/xfstt' and appropriate links pointing in /etc/rc*.d . For example 'etc/rc2.d/S20xfstt' where xfstt is started at runlevel 2. The number is a priority, for getting things started in right order, for example netbase with 18 means it will be started before exim with 20. Just a note: as of xfstt 0.9.8-1 the package contains an init.d script and starts automatically on boot. The current version is in unstable and is 0.9.9 ..it fixes some bugs...a word to the wise tho I had to change some of its defaults to match policy and make things work. (ie. it now looks for fonts in /usr/share/fonts/truetype instead of the ugly /var/ttfonts) You will need to move it yerself (if it finds a /var/ttfonts you will be warned however) also... in that version /etc/init.d/xfstt is not a conffile (oops) that will be fixed RSN (just one other bug I wanna fix with it) also...watch out in the next version commingout... to fix a conflict with xfs I am changing the default port from 7100 to 7101...but thats just what to watch for in the future ;) BTW 0.9.9 is also easier on memory allocation and fixes a bug there -Steve -- /* -- Stephen Carpenter [EMAIL PROTECTED] -- */ A favorite quote from a source I forget: Only Microsoft can take an algorithim that has been under years of public scrutiny and weaken it to the point where the entire key space can be searched in 3 days -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null Will there be a more current version of xfstt in Debian 2.0? I have been staying out of slink until I have a better handle on everything. xfstt 0.9.7-1 is the version I am seeing in Hamm today. Thanks, Bill Bell a Linux newbee __ Get Your Private, Free Email at http://www.hotmail.com -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: xfstt
Date: Thu, 9 Jul 1998 11:36:01 -0400 From: Stephen J. Carpenter [EMAIL PROTECTED] To: debian-user@lists.debian.org Subject: Re: xfstt On Thu, Jul 09, 1998 at 07:54:55AM -0700, Bill Bell wrote: Will there be a more current version of xfstt in Debian 2.0? I have been staying out of slink until I have a better handle on everything. xfstt 0.9.7-1 is the version I am seeing in Hamm today. I am sorry but no. I became the maintianer just after hamm went into code freeze, so I couldn't upload a new version of the package unless it fixed major bugs...and their weren't any releace critical bugs against it. Also...these are new upstream versions...also a no no for code freeze. Now with 2.0 in Betathe only place I can put changes at all would be in slink...soo the up side is that slink packages are pretty much interchangable with hamm packages. Unlike the bo-hamm upgrade...slink as of yet makes no major changes... in fact form a currrent hamm system...I only needed to download 13 MB of files to make a current slink system (as of 2 days ago) of course the pitfalls mentioned before still apply to xfstt anyway -Steve -- /* -- Stephen Carpenter [EMAIL PROTECTED] -- */ A favorite quote from a source I forget: Only Microsoft can take an algorithim that has been under years of public scrutiny and weaken it to the point where the entire key space can be searched in 3 days -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null Thanks for the GOOD information. Looks like I will be getting just a little slink ;-) Bill Bell __ Get Your Private, Free Email at http://www.hotmail.com -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null