Linux-Setup Digest #806, Volume #20 Sun, 11 Mar 01 18:13:10 EST
Contents:
Re: kernel 2.4.* and pppd-2.4.0* (Richard Ng)
USB - External CD-Writer ([EMAIL PROTECTED])
newbie q about RPM ("Yuval Yogev")
Install new kernel (2.4.1) ("Yarraman")
IWILL 2936 UW SCSI Controller (JP)
Re: Need help with LILO, I think. ("cedric")
strange GNOME keyboard problem (Julius Kusuma)
Re: pcmcia setup ("Alex Collins")
CORBA on Linux (Zhihui Zhang)
Re: Networking options for RH 7.1 beta (Dean Thompson)
----------------------------------------------------------------------------
From: Richard Ng <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To:
linux.redhat.ppp,comp.os.linux.redhat,comp.os.linux.questions,comp.os.linux.networking
Subject: Re: kernel 2.4.* and pppd-2.4.0*
Date: Sun, 11 Mar 2001 20:37:29 GMT
Of course, I had tried the rmp version of ppp-2.40b2.
Richard Ng wrote:
> Hi, I have problems to use pppd-2.4.0x in the kernel 2.4.x. I was using
> the kernel 2.2.16 which came with RH7. Since it doesn't support usb zip
> drive, I try to upgrade it to kernel 2.4.x. I had upgraded my original
> rh7 (such as gcc-2.96.x, glibc-2.2.12, util-linux-2.10s, ...etc except
> the kernel) before I started the installation of the kernel 2.4.x. I had
> read the Documentation/Changes. I basically had a greater than or equal
> to the versions of the software described in the document. I have tried
> different versions of pppd-2.4.0x and kernel 2.4.x but they all give me
> the same message:
>
> pppd: This system lacks kernel support for PPP. This could be because
> the PPP kernel module could not be loaded, or because PPP was not
> included in the kernel configuration. If PPP was included as a
> module, try `/sbin/modprobe -v ppp'. If that fails, check t
>
> However, the drivers had been installed in the kernel and it was shown
> to be loaded when linux was booted up! I attached the boot up message at
> the end and I hope it will help!
>
> I try to look into the pppd-2.4.0x source code. In the file sys-linux.c,
> there is a subroutine ppp_available. The subroutine will return a 1 if
> the ppp interface is available and 0 otherwise. It generates the above
> error message if it return 0. However, there are two lines of codes in
> that subroutine:
>
> if (kernel_version >= KVERSION(2,3,13)){
> return 0;
> }
>
> That means if the kernel version >= 2.3.13, I will get the error message
> and the program exit. I was wondering why there are people who can run
> pppd-2.4.0x under kernel-2.4.x! Is is impossible according to the source
> code?
>
> I tried to commented these two line, the program did run further. But I
> face another problem. The following code in the same subroutine iis -1.
> (Here s=4 was obtained before)
>
> ioctl(s, SIOCGIFFLAGS, (caddr_t) &ifr)
>
> Hence, the socket can't be opened for interface. Is there anybody know
> what the problem is?
>
> I ended up commented the codes in main.c which call the subroutine
> ppp_available. Of course I don't get the same error message again. In
> fact, I found the modules ppp_generic and ppp_async were used by one
> process, perhaps, pppd. BUT nothing is actually working when I installed
> these drivers as loadable modules..
>
> Is there any linux programmers who could answer my questions? I would
> appreciate for any contructive inputs or comments. Thank you in advance.
>
> Richard
> ===================================================================
>
> ------------------------------------------------------------------------
> Linux version 2.4.2 ([EMAIL PROTECTED]) (gcc version 2.96 20000731
>(Red Hat Linux 7.0)) #3 Sat Mar 10 22:55:57 EST 2001
> BIOS-provided physical RAM map:
> BIOS-e820: 000000000009fc00 @ 0000000000000000 (usable)
> BIOS-e820: 0000000000000400 @ 000000000009fc00 (reserved)
> BIOS-e820: 0000000000010000 @ 00000000000f0000 (reserved)
> BIOS-e820: 0000000007ee0000 @ 0000000000100000 (usable)
> BIOS-e820: 0000000000010000 @ 0000000007fe0000 (reserved)
> BIOS-e820: 0000000000008000 @ 0000000007ff0000 (ACPI data)
> BIOS-e820: 0000000000008000 @ 0000000007ff8000 (ACPI NVS)
> On node 0 totalpages: 32736
> zone(0): 4096 pages.
> zone(1): 28640 pages.
> zone(2): 0 pages.
> Kernel command line:
> Initializing CPU#0
> Detected 449.240 MHz processor.
> Console: colour VGA+ 80x25
> Calibrating delay loop... 894.56 BogoMIPS
> Memory: 126200k/130944k available (1208k kernel code, 4356k reserved, 453k data,
>204k init, 0k highmem)
> Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes)
> Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
> Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
> Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
> VFS: Diskquotas version dquot_6.4.0 initialized
> CPU: Before vendor init, caps: 0387f9ff 00000000 00000000, vendor = 0
> CPU: L1 I cache: 16K, L1 D cache: 16K
> CPU: L2 cache: 512K
> Intel machine check architecture supported.
> Intel machine check reporting enabled on CPU#0.
> CPU: After vendor init, caps: 0387f9ff 00000000 00000000 00000000
> CPU serial number disabled.
> CPU: After generic, caps: 0383f9ff 00000000 00000000 00000000
> CPU: Common caps: 0383f9ff 00000000 00000000 00000000
> CPU: Intel Pentium III (Katmai) stepping 02
> Enabling fast FPU save and restore... done.
> Enabling unmasked SIMD FPU exception support... done.
> Checking 'hlt' instruction... OK.
> POSIX conformance testing by UNIFIX
> mtrr: v1.37 (20001109) Richard Gooch ([EMAIL PROTECTED])
> mtrr: detected mtrr type: Intel
> PCI: Using configuration type 1
> PCI: Probing PCI hardware
> Unknown bridge resource 2: assuming transparent
> PCI: Using IRQ router PIIX [8086/7110] at 00:07.0
> Limiting direct PCI/PCI transfers.
> Linux NET4.0 for Linux 2.4
> Based upon Swansea University Computer Society NET3.039
> DMI 2.1 present.
> 25 structures occupying 827 bytes.
> DMI table at 0x000F8880.
> BIOS Vendor: ACER
> BIOS Version: V3.2 R02-C0 02 EN
> BIOS Release: 02/10/1999
> System Vendor: Acer .
> Product Name: ASPIRE8 .
> Version 0000000000000000.
> Serial Number 0000000000000000.
> Board Vendor: Acer .
> Board Name: V66M .
> Board Version: -1M .
> Asset Tag: 0000000000000000.
> IA-32 Microcode Update Driver: v1.08 <[EMAIL PROTECTED]>
> Starting kswapd v1.8
> Detected PS/2 Mouse Port.
> pty: 256 Unix98 ptys configured
> block: queued sectors max/low 83821kB/27940kB, 256 slots per queue
> RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
> Uniform Multi-Platform E-IDE driver Revision: 6.31
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> PIIX4: IDE controller on PCI bus 00 dev 39
> PIIX4: chipset revision 1
> PIIX4: not 100% native mode: will probe irqs later
> ide0: BM-DMA at 0x84c0-0x84c7, BIOS settings: hda:DMA, hdb:DMA
> ide1: BM-DMA at 0x84c8-0x84cf, BIOS settings: hdc:pio, hdd:DMA
> keyboard: Timeout - AT keyboard not present?
> keyboard: Timeout - AT keyboard not present?
> hda: QUANTUM FIREBALLP LM15, ATA DISK drive
> hdb: Maxtor 90845D4, ATA DISK drive
> hdd: HITACHI DVD-ROM GD-2500, ATAPI CD/DVD-ROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: 29336832 sectors (15020 MB) w/1900KiB Cache, CHS=1826/255/63, UDMA(33)
> hdb: 16514064 sectors (8455 MB) w/512KiB Cache, CHS=1027/255/63, UDMA(33)
> hdd: ATAPI 24X DVD-ROM drive, 512kB Cache, DMA
> Uniform CD-ROM driver Revision: 3.12
> Partition check:
> hda: hda1 hda2 < hda5 >
> hdb: hdb1 hdb2 hdb3 hdb4 < hdb5 hdb6 hdb7 hdb8 >
> Floppy drive(s): fd0 is 1.44M
> FDC 0 is a post-1991 82077
> Loading I2O Core - (c) Copyright 1999 Red Hat Software
> I2O configuration manager v 0.04.
> (C) Copyright 1999 Red Hat Software
> Serial driver version 5.02 (2000-08-09) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ
>SERIAL_PCI enabled
> ttyS00 at 0x03f8 (irq = 4) is a 16550A
> ttyS01 at 0x02f8 (irq = 3) is a 16550A
> ttyS02 at 0x03e8 (irq = 4) is a 16550A
> PPP generic driver version 2.4.1
> PPP Deflate Compression module registered
> PPP BSD Compression module registered
> Linux agpgart interface v0.99 (c) Jeff Hartmann
> agpgart: Maximum main memory to use for agp memory: 94M
> agpgart: Detected Intel 440BX chipset
> agpgart: AGP aperture is 64M @ 0xe0000000
> [drm] AGP 0.99 on Intel 440BX @ 0xe0000000 64MB
> [drm] Initialized r128 2.1.2 20001215 on minor 63
> [drm] AGP 0.99 on Intel 440BX @ 0xe0000000 64MB
> [drm] Initialized radeon 1.0.0 20010105 on minor 62
> SCSI subsystem driver Revision: 1.00
> request_module[scsi_hostadapter]: Root fs not mounted
> usb.c: registered new driver usbdevfs
> usb.c: registered new driver hub
> PCI: Found IRQ 10 for device 00:07.2
> uhci.c: USB UHCI at I/O 0x8480, IRQ 10
> uhci.c: detected 2 ports
> usb.c: new USB bus registered, assigned bus number 1
> hub.c: USB hub found
> hub.c: 2 ports detected
> usb.c: registered new driver hid
> usb.c: registered new driver audio
> Initializing USB Mass Storage driver...
> usb.c: registered new driver usb-storage
> USB Mass Storage support registered.
> mice: PS/2 mouse device common for all mice
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP Protocols: ICMP, UDP, TCP, IGMP
> IP: routing cache hash table of 512 buckets, 4Kbytes
> TCP: Hash tables configured (established 8192 bind 8192)
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> VFS: Mounted root (ext2 filesystem) readonly.
> Freeing unused kernel memory: 204k freed
> uhci.c: root-hub INT complete: port1: 93 port2: 80 data: 2
> hub.c: USB new device connect on bus1/1, assigned device number 2
> hub.c: USB hub found
> hub.c: 4 ports detected
> hub.c: USB new device connect on bus1/1/2, assigned device number 3
> scsi0 : SCSI emulation for USB Mass Storage devices
> Vendor: IOMEGA Model: ZIP 100 Rev: 44.W
> Type: Direct-Access ANSI SCSI revision: 02
> Detected scsi removable disk sda at scsi0, channel 0, id 0, lun 0
> SCSI device sda: 196608 512-byte hdwr sectors (101 MB)
> sda: Write Protect is off
> sda: sda4
> WARNING: USB Mass Storage data integrity not assured
> USB Mass Storage device found at 3
> hub.c: USB new device connect on bus1/1/3, assigned device number 4
> hub.c: USB hub found
> hub.c: 3 ports detected
> hub.c: USB new device connect on bus1/1/3/1, assigned device number 5
> event0: Event device for input0
> keybdev.c: Adding keyboard: input0
> input0: USB HID v1.00 Keyboard [API API USB KB HUB] on usb1:5.0
> hub.c: USB new device connect on bus1/1/3/2, assigned device number 6
> event1: Event device for input1
> keybdev.c: Adding keyboard: input1
> input1: USB HID v1.00 Device [049c:0002] on usb1:6.0
> hub.c: USB new device connect on bus1/1/3/3, assigned device number 7
> event2: Event device for input2
> mouse0: PS/2 mouse device for input2
> input2: USB HID v1.10 Mouse [Logitech USB Mouse] on usb1:7.0
> Adding Swap: 72252k swap-space (priority -1)
> solo1: version v0.16 time 23:08:45 Mar 10 2001
> PCI: Found IRQ 5 for device 00:0b.0
> solo1: joystick port at 0x8441
> solo1: ddma base address: 0x80c0
> keyboard: Timeout - AT keyboard not present?
> VFS: Disk change detected on device ide1(22,64)
------------------------------
From: [EMAIL PROTECTED]
Subject: USB - External CD-Writer
Date: 11 Mar 2001 19:55:38 GMT
Hi,
installed Mandrake 7.2 , got nearly everything running but my
USB external CD-Writer.
Could somebody probably help me ?
Thanks in advance
Heimo
==================================
Posted via http://nodevice.com
Linux Programmer's Site
------------------------------
From: "Yuval Yogev" <[EMAIL PROTECTED]>
Subject: newbie q about RPM
Date: Sun, 11 Mar 2001 23:00:21 +0200
is it allow to install on RedHat installation RPMs of
other distributions (PLD, Mandrake ..) from rpm.org ?
when i upgraded so, i cant see some man pages ...
------------------------------
From: "Yarraman" <[EMAIL PROTECTED]>
Subject: Install new kernel (2.4.1)
Date: Sun, 11 Mar 2001 22:47:53 +0100
I'm a newbie with Linux and I want to upgrade my kernel from 2.21 to 2.4.1
but don't know how.
Can anyone give me a link to a page on the internet where I can learn how to
do it (in simple English!)
Or can anyone tell me what procedure to follow (from unzipping the tar file
until rebooting the system with the new kernel (I use LILO))
Thanx in advance
Hans
------------------------------
From: JP <[EMAIL PROTECTED]>
Subject: IWILL 2936 UW SCSI Controller
Date: Sun, 11 Mar 2001 21:53:55 GMT
Has anyone successfully used the IWill 2936 SCSI-II card with RH 7.0
(2.2.16-22 Kernel)?
TIA
JP
--
This week I are mostly been
avin problems wiv cable modems
------------------------------
From: "cedric" <[EMAIL PROTECTED]>
Subject: Re: Need help with LILO, I think.
Date: Sun, 11 Mar 2001 14:01:21 +0800
In article <[EMAIL PROTECTED]>, "John Sage"
<[EMAIL PROTECTED]> wrote:
> OK:
>
> So I'm still curious about whether/why you had "compact",
> and about the "linear" deal, which I still haven't
> researched...
I have no idea about either of them. I did not create that
/etc/lilo. I guess RH did when installed. The new
/etc/lilo.conf has 'linear' but not 'compact.' There are no
'man' pages for either 'linear or compact,' so I do not
know how to research them.
>
> ...and are you explicitly stating *which* partition on
> /dev/hda we're
> working with, as far as "root = "?
/root is on /dev/hda1 and it is in the current
/etc/lilo.conf. The new /etc/lilo.conf has
'root=/dev/hda1' as its last line. It is one of the post
above.
>
> ...and you are saying "/sbin/lilo" and noting the
> response, after you
> change stuff?
I do not understand /sbin/lilo. I thought /ect/lilo.conf
created /sbin/lilo. I went to look at it but
can't. How do you open it to look at it? Do I just do
'/sbin/lilo' and see what happens?
>
Thanks,
cedric
------------------------------
From: Julius Kusuma <[EMAIL PROTECTED]>
Subject: strange GNOME keyboard problem
Date: Sun, 11 Mar 2001 14:12:09 -0800
howdy,
i just found a strange keyboard problem on Helix GNOME. what i'm using is a
Mandrake 7.2. installation, with the GNOME that came in the CD.
this morning i discovered that i can't use the 'g' key. it instead "cycles"
the active window: it becomes inactive and then back to active in a split-
second. so i can't use 'G', 'control-g' either, and gave gave identical
results.
i can, however, paste 'g' using my mouse if i can find one from somewhere.
i have checked that DRAKCONF shows US keyboard as my default keyboard.
the strange thing about this problem is that it doesn't show up in KDE.
thanks in advance for any hints.
regards,
julius
--
BASiCS - Berkeley Audio-visual Signal Processing and Communication Systems
http://www.eecs.berkeley.edu/~kusuma
this opinion does not necessarily reflect the opinion of parties affiliated
L'etat n'a pas besoin des savants.
- Robespierre, refusing clemency for Lavoisier
------------------------------
From: "Alex Collins" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: pcmcia setup
Date: Sun, 11 Mar 2001 22:12:00 -0000
try running $ifconfig eth0
does it bring up any info? it should have the MAC address of the card...
this is needed in the network.opts file - this should look something like:
*,*,*,MAC:AD:DR:ES:S)
IF_PORT="" #set to 100BaseT if you have a non-sensing 10/100 M nic
BOOTP="n" #y if you use bootp
DHCP="n" #y if you use dhcp
IPADDR="10.1.1.20" #machine ip address
NETMASK="255.255.255.0" #subnet mask
NETWORK="10.1.1.10" #not sure exactely what this one does!!!
BROADCAST="10.1.1.255" # just set this to the .255 on you network
GATEWAY="10.1.1.254" #whatever your gateway is
DNS_1="dns server ip" #network dns server 1
DNS_2="dns server ip" #network dns server 2
DOMAIN=".mydomain" # suffix of your domain for searching for hosts
;;
email me if you have problems
alex collins
"Miasmal" <[EMAIL PROTECTED]> wrote in message news:98etrm$6p3$[EMAIL PROTECTED]...
>
> I'm trying to set up a D-Link de-660ct pcmcia network card on my laptop
> (Toshiba 2545xcdt) on Redhat 7.0 (2.2.16-22).
>
> cardctl status and cardctl config shows that the system recognizes the
> card, but cardctl ident tells me "no product info avail"
>
> I tried adding some info in network.opts (it was blank), but I don't think
> it's being read. ifconfig shows only 'lo' available.
>
> What is a quick and dirty way of setting this up? The card will be
> installed indefinitely, I don't need hot-swapping capability.
> --
> -- . John Kutsuzawa, CFII // '94 Columbia Univ. ME //
> .________|________. Commercial Pilot, Certified Flight Instructor //
> --\(*)/-- miasmal+pabraw+wyatt of Epic // (N07) (HYW) //
> o/ \o <a href="http://www.nic.com/~miasmal">homepage</a>
------------------------------
Date: Sun, 11 Mar 2001 17:26:41 -0500
From: Zhihui Zhang <[EMAIL PROTECTED]>
Subject: CORBA on Linux
Is there any public-domain software on CORBA on linux? I hope that I can
find one that I can demonstrate to students and do a little exercises (a
small project).
Thanks,
-Zhihui
------------------------------
From: Dean Thompson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: Networking options for RH 7.1 beta
Date: Mon, 12 Mar 2001 10:05:52 +1100
Hi Carlos,
[...]
> The one I'm most intrigued with: How do I enable
> the ftp server? If I try to connect to that machine
> from anywhere else, I get "ftp: connection refused"
>
> I thought it was that I had forgotten to select the
> "Anonymous ftp server" when installing, but I re-
> installed at least three times, and always made
> sure that it was selected.
Make sure that you have got both the "anonftp" package for anonymous ftp and a
ftp server like "wuftpd". Make sure that you don't have both the "proftpd"
and "wuftpd" installed together as this sometimes causes a conflict as they
fight for the port between themselves.
> 2) A little bit of a security concern: When I run
> the ipchains commands as I used to have:
>
[...]
> ipchains -A forward -s 192..../24 -j MASQ
>
> The last command gives me an error about ip_forwarding
> not enable, and it actually tells me to use the command:
> "echo 1 > /proc/....../ip_forward"
>
> So, I added the following lines to /etc/rc.d/rc.local:
>
> echo 1 > /proc/....../ip_forward
> ipchains ...
> ipchains ...
> ipchains ...
>
> Is it fundamentally wrong what I did? (it's working,
> but I'm wondering if there is a cleaner way; I also
> wonder if this is ok from the security point of view).
It looks okay, this is how it can be done. Other ways including changing the
IP_FORWARDING variable in the /etc/sysconfig/network's file or changing the
value in the /etc/sysctl.conf file. However, what you did is pretty normal
and it works!!
>
> A last question, for which maybe a pointer to an FAQ or
> a HOW-TO should be ok: What should I do to configure
> my security options during the installation? There is
> one screen that asks me about firewalling options, with
> three configurations (high security, medium security,
> and no firewall), plus a customize: I started playing
> with the customize, allowing only ssh, www, and ftp.
> But then couldn't figure out a way of make things work,
> so I ended up selecting "no firewall" and then ran my
> ipchains commands manually (still, I can only connect
> to that machine with ssh -- both telnet and ftp give
> me "connection refused" messages). In general, what
> should I do? (I know that the exact configuration that
> I choose will depend on my needs and my level of
> paranoia :-), but I'm trying to figure out how exactly
> do these options translate in practical terms...)
I would say that you have most likely installed with a "workstation"
configuration which either doesn't install all the servers or doesn't activate
all the servers. Take a look in the directory /etc/xinetd.d and look for
files called telnet and ftp. Take a look inside these files and see whether
or not they have the flag: "disable = yes" next to them.
If there isn't a file you might like to confirm whether or not the server is
installed: "rpm -qa | grep telnet" and see whether there is an entry for a
server.
As for security you might like to read the IPCHAINS-HOWTO located at:
http://www.linuxdoc.org which details some of the finer points on the
construction of firewalls and so forth. Additionally, you might like to do a
"man hosts.allow" and "man hosts.deny" and look into TCP-Wrappers a little
more.
I hope this is of some help.
See ya
Dean Thompson
--
+____________________________+____________________________________________+
| Dean Thompson | E-mail - [EMAIL PROTECTED] |
| Bach. Computing (Hons) | ICQ - 45191180 |
| PhD Student | Office - <Off-Campus> |
| School Comp.Sci & Soft.Eng | Phone - +61 3 9903 2787 (Gen. Office) |
| MONASH (Caulfield Campus) | Fax - +61 3 9903 1077 |
| Melbourne, Australia | |
+----------------------------+--------------------------------------------+
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.setup.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Setup Digest
******************************