Need bandwidth usage tool
My provider enforces a bandwidth limitation (5G download, 1G upload) per month above which they will charge me extra. I would like your recommendations as to which program I should run on my potato masquerading box to keep track of upload and download totals. I've looked at both mrtg and iptraf, but neither seems to do quite what I need. Thanks in advance, Dan.
pine (again!)
Hi all. Is there a definitive document anywhere that describes how to compile pine for Debian? Every time I try to compile it, whether from the deb package or the sources, I run into the same problems. And I still don't know how to fix them. And the binary version doesn't work either. Mind you, I don't understand how come the debs don't compile out of the box, but that's another matter. Thanks, Dan.
Re: pine (again!)
Thanks to Joel Dinel for pointing me to this address: http://www.linuxnewbie.org/ubb/Forum12/HTML/96.html Turns out I did not have libncurses5-dev installed, only libncurses5. Now I'm wondering why apt did not warn me of the missing dependance... Dan.
Exim and DomainZero
Hi debianers. I've recently signed up with DomainZero to register my own domain (dlesage.com). Since I've got a cable connection at home, I figured I'd try to set up exim to receive emails sent to (user)@dlesage.com. Outgoing messages work fine, but messages sent to (user)@dlesage.com never show up, but never bounce either. Of course, since DomainZero's documentation is terse (not to say non-existant), and my knowledge of exim is not much better, I have no clue if the problem is at exim's end or in my configuration of DomainZero's email record. Can anyone nudge me in the right direction, or at least ask me the right questions? Thanks, Dan.
Re: Exim and DomainZero
DNS should be configured correctly; I've also signed up with DHS to provide me with a dynamic DNS entry. Here's what I've got at DZ's end: Host Name : @.dlesage.com Record Type : MX (Mail) MX Pref: 10 Address: dlesage.dyn.dhs.org. I'm not too sure what the MX Pref entry is. Dan. On Tue, 19 Sep 2000, Ray Percival wrote: Do you have the right DNS entries somewhere for your domain. In other words who is providing DNS for you? -- Original Message -- From: Daniel Lesage [EMAIL PROTECTED] Date: Tue, 19 Sep 2000 16:07:19 -0400 (EDT) Hi debianers. I've recently signed up with DomainZero to register my own domain (dlesage.com). Since I've got a cable connection at home, I figured I'd try to set up exim to receive emails sent to (user)@dlesage.com. Outgoing messages work fine, but messages sent to (user)@dlesage.com never show up, but never bounce either. Of course, since DomainZero's documentation is terse (not to say non-existant), and my knowledge of exim is not much better, I have no clue if the problem is at exim's end or in my configuration of DomainZero's email record. Can anyone nudge me in the right direction, or at least ask me the right questions? Thanks, Dan. -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: Exim and DomainZero
Thanks a lot, guys, I knew this was something stupid and that one of you would get it right away. Robert put me on the right track with this: On Tue, 19 Sep 2000, Robert Waldner wrote: bash-2.03# telnet 24.201.62.169 25 Trying 24.201.62.169... nothing Of course, all my telnet tests were made *inside* my firewall... Once I opened up port 25, eveything got delivered correctly. Once again, thanks all. Dan.
Setting X resolution
Is there any way to configure X resolutions and select the default directly from X (using a graphical interface), rather than editing the XF86Config file by hand or running a console application? Thanks, Dan.
New installation - pump trouble
Hi all. I'm trying to install Potato to what will become my ipchains server. I had previously installed Slink on this computer, but managed to completely mangle my installation when my old ISP switched to PPPOE. My new provider (Videotron) uses DHCP for their cable modems, and I can get an address just fine in Windows on a different computer. On my Potato box, different story. My Ethernet card seems to work (3Com 3c509b, shows up in ifconfig), but it does not get an IP address assigned on boot. Running : pump -i eth0 -R gets me an Operation failed error message, and no IP address. Is there anything else I need to configure? I'd read the man page, but since the installation has not completed, man does not work yet. I'm thinking of yanking out pump, and replacing it with dhcpcd. Any thoughts/ideas? Thanks, Dan
Two different FTP problems
Hi all. I've been having trouble FTPing to my Debian box over my LAN for a while now. Here's what happens: Problem 1) I can't FTP as root, and I understand why. But one (and only one) of my users is also unable to FTP there, getting the same error message as when I try as root. That user is not listed in the ftphosts file. What gives? Problem 2) I'm able to connect using any other user name. But trying to upload files results in Permission Denied, regardless of where I try to upload. Home directories' permissions look fine (rwxr-xr-x). I'd appreciate any input on these. Thanks, Dan. --- This is what we do. This is who we are. Hail Eris! -- Kallisti -- All Hail Discordia!
DHCP - solved!
Many thanks to everyone who helped me getting this to work - amongst others, Seth, Mark, Phil, Jens, and I'm sure I'm forgetting a bunch. Turns out that if I tried configuring the LAN NIC first, for some strange reason dhclient would fail and would take the LAN down with it. In addition to that, if the NIC had no IP assigned to it, dhclient would fail with Unable to create file: eth0 (I think). Here's my (new and improved) /etc/init.d/network (works like a charm!): ifconfig eth1 up ifconfig eth1 192.168.0.254 dhclient eth1 ifconfig eth0 up ifconfig lo 127.0.0.1 route add -net 127.0.0.0 IPADDR=192.168.0.2 NETMASK=255.255.255.0 NETWORK=192.168.0.0 BROADCAST=192.168.0.255 GATEWAY= ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST} route add -net ${NETWORK} [ ${GATEWAY} ] route add default gw ${GATEWAY} metric 1 --- This is what we do. This is who we are. Hail Eris! -- Kallisti -- All Hail Discordia!
Still can't get a DHCP address
Well, I'm still unable to get an IP address, using either dhcpcd or dhclient under slink. I'm using loadlin to boot the computer (LILO won't install on it). I'm including (1) the contents of my loadlin param file. (2) is a dump of dmesg. There's a number of errors in there (apache, for example) I haven't gotten around to try to fix yet. From what I can tell, it's recognizing both NICs correctly. To get Linux to recognize the second NIC, I had to edit /etc/network (3). ifconfig -a (4) shows both NICs configured correctly, including IRQs and addresses. I tried switching my LAN to eth1, and that worked, so configuration should be OK. One strange thing is that if I run ifconfig without the -a switch, eth1 does not show up. When I run dhclient eth1, I get error messages (5) and still no IP address on eth1. dhcpcd also failed to get an IP address, but showed nothing in syslog. Does anyone have any insight they want to share? Dan. (1) linuxpar.1: # EDIT THIS BEFORE USING ! # # this is an example commandline parameter file for LOADLIN # You may have comments starting with # at any place # comments end at end of a line # any number of empty lines may be inserted. # The contents are compacted by LOADLIN to produce an as small # commandline as possible. # For more commandline options see the file PARAMS.DOC. # # There can only be one parameter file and LOADLIN must be called as: # LOADLIN @param_file # However, the parameters in param_file may be overwritten by # (or appended to) those following the @param_file, e.g: # LOADLIN @param_file image=other_image root=/dev/other # # c:\loadlin\Vmlinuz # first value must be the filename of the Linux-kernel # if this should be changed at load time, # the keyword 'image=' must be used (see above) -v # verbose the actual params, but load anyway #-t # write debug output and stop. #-d c:\dump # write debug output to file c:\dump and stop. vga=extended# legal values are: # numeric: # -3ask # -2extended # -1normal # 0..9 as if entered on boot-prompt # symbolic: # ask # normal # extended # However, starting with Linux-1.3.75 the code for # vga=has changed, to get the actual values for your # special video card, you should use 'ask' and remember # the values that were printed on screen. # # See also linux/Documentation/svga.txt root=/dev/hdb3 # the device which gets mounted as root FS # root=201 # NOTE: the numeric device tokens are hexa ! # root=/dev/sda1 # ro # rw #initrd=..\initdisk.gz # This file gets loaded as 'initial ramdisk' # see initrd.txt for more #noinitrd # This keyword is usefull, if you wany get # the 'initial ramdisk' loaded, but not # processed at startup. # It will remain as /dev/initrd. # this can be used in /etc/rc to do some special work #MY_SPECIAL_OPTION=what_I_need #ether=10,0x230,0xc8000,0xcbfff,eth0 #ether=9,0x240,0xd,0xd3fff,eth1 #ether=10,0x280,0xd,0xd3fff,eth0 = (2) dmesg: Linux version 2.2.6 ([EMAIL PROTECTED]) (gcc version 2.7.2.3) #5 SMP Mon Aug 16 20:13:55 EST 1999 mapped APIC to e000 (00215000) mapped IOAPIC to d000 (00216000) Detected 99720166 Hz processor. Console: colour VGA+ 80x50 Calibrating delay loop... 39.73 BogoMIPS Memory: 63364k/65536k available (808k kernel code, 416k reserved, 908k data, 40k init) Checking 386/387 coupling... OK, FPU using exception 16 error reporting. Checking 'hlt' instruction... OK. Intel Pentium with F0 0F bug - workaround enabled. POSIX conformance testing by UNIFIX per-CPU timeslice cutoff: 1.56 usecs. CPU0: Intel Pentium 75 - 200 stepping 05 SMP motherboard not detected. Using dummy APIC emulation. PCI: PCI BIOS revision 2.10 entry at 0xfc7d7 PCI: Using configuration type 1 PCI: Probing PCI hardware Linux NET4.0 for Linux 2.2 Based upon Swansea University Computer Society NET3.039 NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP Starting kswapd v 1.5 Detected PS/2 Mouse Port. pty: 256 Unix98 ptys configured CMD640: ignored by ide_scan_pci_device() (uses own driver) ide0: buggy cmd640b interface on PCI (type1), config=0x5e ide1: not serialized, secondary interface not cmd640 cmd640: drive0 timings/prefetch(off) preserved cmd640: drive1 timings/prefetch(off) preserved hda: Maxtor 71260 AT, ATA DISK drive hdb: SAMSUNG WN316025A (1.6 GB), ATA DISK drive hdc: MATSHITA CR-589, ATAPI CDROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: Maxtor 71260 AT, 1204MB w/256kB Cache, CHS=612/64/63 hdb: SAMSUNG
Newbie in need of help with dhcpcd
[System: slink running kernel 2.2.6. 2 NICS: eth0 is a 3c509, eth1 is a DLink DE220] Hi people. I want to configure my Linux box to use as a proxy/firewall/ipmasq server for a 3-PC LAN, but ran into trouble trying to get it to connect to my ADSL provider (Sympatico). It uses a DHCP system, but I'm unable to get an address from its server. Here's what I did: 1) in the /etc/init.d/network file, I added the line: modprobe ne at the top. Without this, I couldn't get the system to recognize my second network card. 2) Running ifconfig eth1 outputs what I expect (including the fact that no address is assigned to the card), IRQ and base address are correct. Strangely, though, running ifconfig without parameters only shows lo and eth0. Is this part of the problem? 3) Changed /etc/dhcpc/config to read: # List here the interface that the dhcpcd daemon should use. # The default is to assign an IP address to eth0. # If you want to disable the daemon, enter none here. IFACE=eth1 Rebooting the system does not fetch an IP address (ifconfig eth1 still shows no address). Running dhcpcd blows up my LAN, and checking ifconfig eth0 from the console shows eth0 has no IP address anymore. Running dhcpcd eth1 doesn't seem to do anything. Am I missing something obvious? Or something not so obvious? Thanks for any help, Dan. --- This is what we do. This is who we are. Hail Eris! -- Kallisti -- All Hail Discordia!
Re: Newbie in need of help with dhcpcd
At 18:24 22-08-99 -0700, you wrote: Hi, As for your second NIC, you might try the append command in your lilo.conf like so: Hi Mark. You remind me I forgot to mention something: I can't use LILO on this system (interferes with some EZ-BIOS nonsense), so I'm using loadlin from DOS. My loadlin param file looks like: ether=10,0x230,0xc8000,0xcbfff,eth0 ether=9,0x240,0xd,0xd3fff,eth1 Now, I plucked some of those numbers pretty much out of thin air (I kept the mem_start and mem_end parameters that were in the distributed file), but I'm under the impression they don't matter anyway. The IRQ and base address are correct, though. Dan. --- This is what we do. This is who we are. Hail Eris! -- Kallisti -- All Hail Discordia!
Re: New kernel problems
At 07:53 09-08-99 -0500, Paul Miller wrote: I usually see this error when IDE support has not been compiled in the kernel. So I'd make sure that in the Block Devices section you have 'Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support' 'Include IDE/ATA-2 DISK support' set to yes. Right on! Thanks a bundle, Paul! Dan. --- This is what we do. This is who we are. Hail Eris! -- Kallisti -- All Hail Discordia!
New kernel problems
I'm using slink, and need to recompile the kernel. This is on a computer where LILO won't install, so I have to boot off a floppy. Ran 'make menuconfig', and double-checked that Second extended fs support was not compiled as a module. In the Makefile, I set : ROOT_DEV = /dev/hdb3 Ran make-kpkg kernel_image. I then executed: dpkg -i kernel-image-2.2.6_1.00_i386.deb directing it to make a boot . I get this error on restart: VFS: Cannot open root device 03:43 Kernel panic: VFS: Unable to mount root fs on 03:43 I'm not exactly sure how to troubleshoot this. Any advice? --- This is what we do. This is who we are. Hail Eris! -- Kallisti -- All Hail Discordia!
Re: New kernel problems
On Mon, 9 Aug 1999, Guilherme Soares Zahn wrote: VFS: Cannot open root device 03:43 Kernel panic: VFS: Unable to mount root fs on 03:43 I'm not exactly sure how to troubleshoot this. Any advice? I usually see this error when IDE support has not been compiled in the kernel. So I'd make sure that in the Block Devices section you have 'Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support' 'Include IDE/ATA-2 DISK support' set to yes. Nope... it as long as I can read the signs, the IDE device was found, so the problem seems to be that the e2sf (second extended file system) was either left aside or created as a module during the krenel creation... Run make menuconfig again and check this out in the ¨filesystems¨ part... the second extended filesystem MUST be created as part of the kernel (otherwise, how would the kernel open the e2fs filesystem to read the modules? ;-) This is the mistake I made the first time around. I then rebuilt the kernel with e2fs built-in, but got the same error message. I'll try Paul's suggestion tonight, though. Dan.