Linux-Setup Digest #335, Volume #20               Wed, 3 Jan 01 13:13:11 EST

Contents:
  Re: 4 partitions for dualboot ("Eric en Jolanda")
  Re: 4 partitions for dualboot (HP Staber)
  networking cfg: rtl8139:kernel 2.2.5 ([EMAIL PROTECTED])
  Procmail and Defanged files (Jim)
  Re: networking cfg: rtl8139:kernel 2.2.5 (H.Bruijn)
  Re: linux password to Sun Shadow. (Craig Kelley)
  Re: Compiling Kernels on RH 7.0? (Markus Kossmann)
  KDE2.0 Installation - PLEASE HELP! (routerl)
  Re: Newbie needs some serious assistance.... (Craig Kelley)
  irq problem (root)
  Re: public_html directory permissions ("ne...")
  HardHat Linux + Ramdisk (without NFS) (Marcio Koch)

----------------------------------------------------------------------------

From: "Eric en Jolanda" <[EMAIL PROTECTED]>
Subject: Re: 4 partitions for dualboot
Date: Wed, 3 Jan 2001 17:08:12 +0100

C:  1 Gig FAT32 primary for WinME
E:  1 Gig FAT16 primary for DOS
F: 13 Gig FAT32 primary for Win and Linux later
    I want to split this partition during installation of MDK 7.2
D: 15 Gig FAT32 extended for Win Software, data and backup

Question : will a split of F: into a Win and a Linux part create
problems since the MBR is only able to handle 4 primary partitions ?

You can't split it, nor can you make an extended partition (You already have
one). You should try to shrink F: and add the space to D:
I don't know if there's a tool that can do this though.

Easiest solution IMO is delete both D: and F:  and recreate the partitions
as you like. Now you will probably say: But I don't want to lose the data!
I: Make a back-up!
You: I don't have backup media!
I: Then don't even think about messing with the partitiontable.

Everytime you touch the partition table, you must either backup, or be
prepared to lose data. It will be fine in most cases, but if you're not
careful, you will lose data in the future.

Eric



------------------------------

From: HP Staber <[EMAIL PROTECTED]>
Subject: Re: 4 partitions for dualboot
Date: Wed, 3 Jan 2001 17:08:53  +0100

Stanislaw Flatto wrote:
> HP Staber wrote:
> 
> > Question : will a split of F: into a Win and a Linux part create
> > problems since the MBR is only able to handle 4 primary partitions ?
> >
> > HP Staber/Salzburg
> 
> Hi winter dweller, from boiling summer!

:)
Winter here is in the form of ice rain. Snow only in the mountains.

> Had the same problem, and after few re-installs, arrived at this
> solution:
> 1 cylinder partition (primary) /boot type 83 (on my disk it is 8Mb)
> primary partition fat32 for windows (1.5G as programms are installed on
> drive D:)
> extended partition for Linux type 85 and in it /(root), swap /usr /home
> /opt (all logical partitions)
> extended partition for Windows drives D: and E:
> Till now no complains from both OS's.

I'm not sure I understood :

1st primary partition is type 83 and 8Gig size
2nd primary partition is fat 32  and 1.5Gig
3rd extended partition type 85 for linux
4th extended partition fat32 for Win

Shouldn't you have a problem with a Linux or Win boot instalation above
cylinder 1024 =3D 8 Gig ?

HP Staber/Salzburg


------------------------------

From: [EMAIL PROTECTED]
Subject: networking cfg: rtl8139:kernel 2.2.5
Date: Wed, 03 Jan 2001 16:11:15 GMT

Hi ,

I've successfully installed rh6.0 ( kernel 2.2.5 )( Hedwig ) on my pc.
Have a lan running and have been following the network administrators
guide at
 "http://www.ssc.com/mirrors/LDP/LDP/nag2/"
to setup networking. I get a successful ping when i do a ping localhost
and when i give my own network address ( 192.168.0.67 ). However, when
i ping another machine, i donot recieve any replies.( verified from
ifconfig )

I have not been able to set the mediatype to 10BaseT as suggested by my
netadmin. I tried using ifport but got an error , 'operation not
supported' from ioctl. Using modprobe rtl8139 also failed to give any
output.

I wonder if somebody can suggest what i am doing wrong.

Regards,
Abhishek

ps. the card was autodetected during setup.


Sent via Deja.com
http://www.deja.com/

------------------------------

From: Jim <[EMAIL PROTECTED]>
Subject: Procmail and Defanged files
Date: Wed, 03 Jan 2001 16:40:20 GMT

Is there anyway to setup procmail to not put DEFANGED in the
attachments?  It's causing our users some headaches.

example:  resume.34123DEFANGED-doc (was sent as resume.doc)

I am a newbie to Linux, and working on a system that was setup before I
started working here.  So my knowledge of Linux is limited to what
others have told me.

Thanks,

Jim


Sent via Deja.com
http://www.deja.com/

------------------------------

From: [EMAIL PROTECTED] (H.Bruijn)
Subject: Re: networking cfg: rtl8139:kernel 2.2.5
Date: 3 Jan 2001 16:57:58 GMT
Reply-To: [EMAIL PROTECTED]

On Wed, 03 Jan 2001 16:11:15 GMT, [EMAIL PROTECTED] allegedly wrote:
>Hi ,
>
>I've successfully installed rh6.0 ( kernel 2.2.5 )( Hedwig ) on my pc.
>Have a lan running and have been following the network administrators
>guide at
> "http://www.ssc.com/mirrors/LDP/LDP/nag2/"
>to setup networking. I get a successful ping when i do a ping localhost
>and when i give my own network address ( 192.168.0.67 ). However, when
>i ping another machine, i donot recieve any replies.( verified from
>ifconfig )
>
>I have not been able to set the mediatype to 10BaseT as suggested by my
>netadmin. I tried using ifport but got an error , 'operation not
>supported' from ioctl. Using modprobe rtl8139 also failed to give any
>output.
>
>I wonder if somebody can suggest what i am doing wrong.
>ps. the card was autodetected during setup.

When ran succesfully "modprobe rtl8139" will not give any output at all.

To see if the module has loaded run "/sbin/lsmod" If the module hasn't
loaded try loading it again manually, and run lsmod again. You may try
to pass IO addresses en IRQ's to the modules with :
"modprobe rtl8139 io=0xd400 irq=9" (With appropiate values for io and
irq of course)

Then look at the output of the ifconfig and the route commands,
typically one should get something as:
herman@mephisto% /sbin/ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:33294760 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33294760 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
eth0      Link encap:Ethernet  HWaddr 00:00:B4:B7:EB:D5
          inet addr:192.168.2.1  Bcast:192.168.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:149651 errors:0 dropped:0 overruns:0 frame:40
          TX packets:5717 errors:138 dropped:0 overruns:0 carrier:138
          collisions:2364 txqueuelen:100
          Interrupt:9 Base address:0xd400

If the output you got isn't to your liking you can manually configure
them till things work (with appropiate values for your network:
/sbin/ifconfig lo down
/sbin/ifconfig lo 127.0.0.1
/sbin/ifconfig eth0 down
/sbin/ifconfig eth0 192.168.2.1 netmask 255.255.0.0 broadcast 192.168.255.255

Next you need to look at your routing tables mine are quite straightforward:
herman@mephisto% /sbin/route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use  Iface
127.0.0.0       *               255.0.0.0       U     0      0        0  lo
localnet        *               255.255.254.0   U     0      0        0  eth0
default         default.gateway 0.0.0.0         UG    0      0        0  eth0

If those don't exist try :[Remeber that your netmasks and network
ipnumbers may be different)
        /sbin/route add -net 127.0.0.0 
If you are receiving SIOCADDRT errors with the above try:
        /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo 
        /sbin/route add -net 192.168.0.0
And if there is a default gateway:
        /sbin/route add default gw 192.168.1.1


-- 
If a trainstation is the place where trains stop, what is a workstation?
========================================================================
Herman Bruijn                            mail:          [EMAIL PROTECTED]
The Netherlands                       website:   http://hermanbruijn.com

------------------------------

From: Craig Kelley <[EMAIL PROTECTED]>
Subject: Re: linux password to Sun Shadow.
Date: 03 Jan 2001 10:00:16 -0700

fatwolf <[EMAIL PROTECTED]> writes:

> Hi, I'm trying to import linux passwd into Solaris shadow, but I just
> found out the encrypted password just not compatible, is there anyway
> to do that? Thanks.

That depends on what hash is used.  Most Linux distributions use MD5
lately; I hope Sun isn't still using UNIX DES.

-- 
The wheel is turning but the hamster is dead.
Craig Kelley  -- [EMAIL PROTECTED]
http://www.isu.edu/~kellcrai finger [EMAIL PROTECTED] for PGP block

------------------------------

From: Markus Kossmann <[EMAIL PROTECTED]>
Subject: Re: Compiling Kernels on RH 7.0?
Date: Wed, 03 Jan 2001 08:01:49 +0100

Steve Withers wrote:
> 
> I want to upgrade my kernel from 2.2.16-22 kernel provided by RH 7.0 to
> the new, stable,  2.2.18 in order to fix an annoying problem with access
> to data CDs from within a VMware windows environement......about half
> the time it treats them like audio CDs.
> 
Thre are instructions on
http://www.redhat.com/support/docs/gotchas/7.0/gotchas-7-6.html#ss6.1

-- 
Markus Kossmann                                    
[EMAIL PROTECTED]

------------------------------

From: routerl <[EMAIL PROTECTED]>
Subject: KDE2.0 Installation - PLEASE HELP!
Reply-To: [EMAIL PROTECTED]
Date: Wed, 03 Jan 2001 17:04:08 GMT


I am able to install all the required RPMs except for kdelibs which gives 
me the following dependecy error:
"kdelibs is needed by kdelibs-sound-2.0-5mdk"

Can anyone help me out? Btw, I don't know much about KDE, but I don't get 
any sound (reason why I'm upgrading) so why would kdelibs-sound cause a 
problem?

Thanking you in advance,
routerl

------------------------------

From: Craig Kelley <[EMAIL PROTECTED]>
Subject: Re: Newbie needs some serious assistance....
Date: 03 Jan 2001 10:06:36 -0700

Jim <[EMAIL PROTECTED]> writes:

> Hmmmm, maybe there is something else going on then.  Cause what you did
> is exactly what I did, ADDUSER and PASSWD.  Email client will not let me
> login.
> 
> Could there be something else going on?

RedHat 5.2 used DES/UNIX password hashes by default.  RedHat 6.1 used
MD5 password hashes by default.  Is there any chance that you're
running a non-pamified IMAP/POP daemon (an older one)?  Are you using
NIS or some other network authentication?  Can you login as one of the
new users at the console with the new password?

Our main server is running RedHat 6.1 (plus numerous updates) --
upgraded from RedHat 5.2 and previously 4.2.

-- 
The wheel is turning but the hamster is dead.
Craig Kelley  -- [EMAIL PROTECTED]
http://www.isu.edu/~kellcrai finger [EMAIL PROTECTED] for PGP block

------------------------------

From: root <[EMAIL PROTECTED]>
Subject: irq problem
Date: Wed, 03 Jan 2001 17:17:32 GMT


hi
i have this problem with irq's
i cannot load my scsi card (advansys)
this is the situation: 1 isa sound-card, 1 isa 3c509 nic card, 1 isa
ne2000 nic card,
1 advansys pci card, 1 agp video card.
3 pci slots are still free
all isa slots are occupied

i have tried to load the advansys module in several ways, using
modprobe, using insmod, specifying irq, specifying io
e.g. modprobe advansys irq=9 io=0xe400


here are some screen dumps

[root@C3829572 /root]# cat /proc/interrupts
           CPU0
  0:     210599          XT-PIC  timer
  1:       1033          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  4:      67099          XT-PIC  serial
  8:          1          XT-PIC  rtc
 10:       5498          XT-PIC  eth0
 13:          1          XT-PIC  fpu
 14:      20476          XT-PIC  ide0
NMI:          0    

[root@C3829572 /root]# cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
01f0-01f7 : ide0
0210-021f : 3c509
02f8-02ff : serial(auto)
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
f000-f007 : ide0
f008-f00f : ide1   

[root@C3829572 /root]# cat /proc/interrupts
           CPU0
  0:     216318          XT-PIC  timer
  1:       1139          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  4:      68782          XT-PIC  serial
  8:          1          XT-PIC  rtc
 10:       5528          XT-PIC  eth0
 13:          1          XT-PIC  fpu
 14:      20894          XT-PIC  ide0
NMI:          0      

[root@C3829572 /root]# cat /proc/pci
PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel 440LX - 82443LX PAC Host (rev 3).
      Medium devsel.  Fast back-to-back capable.  Master Capable. 
Latency=32.
      Prefetchable 32 bit memory at 0xe0000000 [0xe0000008].
  Bus  0, device   1, function  0:
    PCI bridge: Intel 440LX - 82443LX PAC AGP (rev 3).
      Medium devsel.  Fast back-to-back capable.  Master Capable. 
Latency=64. 
 Min Gnt=10.
  Bus  0, device   7, function  0:
    ISA bridge: Intel 82371AB PIIX4 ISA (rev 2).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  No
bursts.
  Bus  0, device   7, function  1:
    IDE interface: Intel 82371AB PIIX4 IDE (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable. 
Latency=32.
      I/O at 0xf000 [0xf001].
  Bus  0, device   7, function  2:
    USB Controller: Intel 82371AB PIIX4 USB (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable. 
Latency=32.
      I/O at 0xe000 [0xe001].
  Bus  0, device   7, function  3:
    Bridge: Intel 82371AB PIIX4 ACPI (rev 2).
      Medium devsel.  Fast back-to-back capable.
  Bus  0, device  10, function  0:
    SCSI storage controller: Advanced System Products ABP940 (rev 0).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  No
bursts.  
Min Gnt=4.Max Lat=4.
      I/O at 0xe400 [0xe401].
  Bus  1, device   0, function  0:
    VGA compatible controller: Silicon Integrated Systems 3D-AGP 6326
VGA (rev 
195).
      Medium devsel.  Master Capable.  Latency=32.  Min Gnt=2.
      Prefetchable 32 bit memory at 0xe7000000 [0xe7000008].
      Non-prefetchable 32 bit memory at 0xe5000000 [0xe5000000].
      I/O at 0xd000 [0xd001].

thanks for any help
piet

------------------------------

From: "ne..." <[EMAIL PROTECTED]>
Subject: Re: public_html directory permissions
Date: Wed, 03 Jan 2001 17:37:41 GMT

On Jan 3, 2001 at 15:49, H.Bruijn eloquently wrote:

>On Wed, 03 Jan 2001 13:40:18 GMT, ne... allegedly wrote:
>>On Jan 2, 2001 at 19:53, John Mitchell eloquently wrote:
>>
>>>I am trying to set up apache to show user's html pages.  Every time that
>>>I try to go to localhost/~user I get a 403.  I have set the permissions
>>>of the directory and the fiels to 0755.
>>>What else should I do to get it working.
>>Users home directory also needs to be set 0755.
>
>No they don't, you minimally need mode 0701 for the user home directory,
>and minimally 0701 for the public_html in the users home-directory, with
>an index.html with permissions set to 0604. If you increase the
>permission level of the public_html to 0705 the visitors will able to
>get a directory listing when there is no index.html
You'll be happy to know that on a server I have access to setting
a user's home and public_html directories to 0755 gives a 403 error
when trying to display directory contents. These have been changed
to 0701 on your advice.

-- 
Registered Linux User # 125653 (http://counter.li.org)
The problem with this country is that there is no death penalty for
incompetence.
 11:06am  up 22 days, 14:04, 10 users,  load average: 0.00, 0.03, 0.00


------------------------------

From: Marcio Koch <[EMAIL PROTECTED]>
Crossposted-To: linux.dev.kernel,linux.ports.powerpc,linux.sources.kernel
Subject: HardHat Linux + Ramdisk (without NFS)
Date: Wed, 03 Jan 2001 17:47:36 GMT

  I'm trying to make the HardHat (Montavista CDK 1.2) Linux kernel 2.2.14 for
the bseip engine load a ramdisk and mount its root fs from that. But it
refuses to see the ramdisk that I've loaded with the kernel.  I tried to load
as described in the BSEIP engine Manual and in the HardHat manual too, but it
only works when  I use the kernel and the ramdisk from the bseip packege. If
I try to use the HardHat kernel and any ramdisk it don't work. I tryed using
rdev on the resulting image and it didn't worked too.

This is when I build a image without the bootlo.bin, from BSE, with the
kernel from HardHat (../mbxboot/zImage) and the ramdisk.gz from BSE :

>bload /ftpboot/build/image-test 200000
loading ... TFTP error 2 (Access violation)
tftp load error
 done
>bload /tftpboot/build/image-test 200000
loading ... 2189906 bytes loaded cksum 0000942E
 done
>go 210000loaded at:     00210000 0021B1FC
relocated to:  00180000 0018B1FC
board data at: 001801C8 001801E4
relocated to:  00200100 0020011C
zimage at:     00216000 0027E248
avail ram:     0027F000 01000000

Linux/PPC load:
Uncompressing Linux...done.
Now booting the kernel
Linux version 2.2.14 ([EMAIL PROTECTED]) (gcc version 2.95.2
199910300Boot arguments:
time_init: decrementer frequency = 180000000/60
Calibrating delay loop... 47.62 BogoMIPS
Memory: 15284k available (652k kernel code, 416k data, 32k init)
[c0000000,c100]Dentry hash table entries: 2048 (order 2, 16k)
Buffer cache hash table entries: 16384 (order 4, 64k)
Page cache hash table entries: 4096 (order 2, 16k)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
TCP: Hash tables configured (ehash 16384 bhash 16384)
Initializing RT netlink socket
Starting kswapd v 1.5
CPM UART driver version 0.03
ttyS00 at 0x0280 is a SMC
ttyS01 at 0x0380 is a SMC
pty: 256 Unix98 ptys configured
RAM disk driver initialized:  16 RAM disks of 6144K size
loop: registered device at major 7
eth0: CPM ENET Version 0.2, 00:50:15:00:03:84
PPP: version 2.3.7 (demand dialling)
TCP compression code copyright 1989 Regents of the University of California
PPP line discipline registered.
Sending BOOTP requests.... OK
IP-Config: Got BOOTP answer from 172.16.0.1, my address is 172.16.0.77
VFS: Cannot open root device 00:00
Kernel panic: VFS: Unable to mount root fs on 00:00
Rebooting in 180 seconds..



And this is when I use the bootlo.bin(BSE) + kernel(HardHat -
../coffboot/vmlinux.gz) + ramdisk.gz(BSE) :

>bload /tftpboot/build/image-test 200000
loading ... 2120400 bytes loaded cksum 00005377
 done
>go 200000sinit
Start Mar 18 1999 17:15:49
loaded at:     00200000 00212BBC
relocated to:  00100000 00112BBC
board data at: 001002B4 001002D0
relocated to:  00200100 0020011C
zimage at:     00206300 0025E548 cksum: 0000CD81
relocated to:  00FA7000 00FFF248
initrd at:     0025E548 00405AD0 cksum: 00006E1B
relocated to:  00DFF000 00FA6588
avail ram:     0025F000 00600000

Linux/PPC load:
Uncompressing Linux...done.
Now booting the kerne�
Boot: BSE 1998 Dec 28 1999
>


Any help would be apreciated.
thanks.

Marcio


Sent via Deja.com
http://www.deja.com/

------------------------------


** 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
******************************

Reply via email to