Linux-Setup Digest #885, Volume #20              Thu, 22 Mar 01 02:13:10 EST

Contents:
  Re: Telnet and vi (David Efflandt)
  Re: need inittab ("mari-k")
  Re: Problem upgrading from 2.2.14 to 2.4.2 ("mari-k")
  Re: /dev/null is read-only ? ("mari-k")
  Re: configure sound ("mari-k")
  Re: Sending EMail from Crontab scripts IN HTML!!! (Seetamraju Uday Bhaskar Sarma)
  dhcpd and linux 2.2 ("latompa")
  ne/ne2k-pci Re: Mdk7.2 and Realtek 8019 Ethernet Card (Seetamraju Uday Bhaskar Sarma)
  Re: small installation-how? (Seetamraju Uday Bhaskar Sarma)
  Re: Boot magic probs (#banjo)
  SuSe Linux 7.2 or Redhat??? ("TD")
  Problems compiling error in modversions.h ? ("svlve")
  halt in /sbin/init (Tai-Lin)
  Re: mem and swap problem ("Matthew Lam")
  Re: SuSe Linux 7.2 or Redhat??? ("Buzz Lightyear")
  Re: Difficult Linux version/distro question ? ("Matt O'Toole")
  Re: compile error with 2.4.2 (Nader)
  Re: ne/ne2k-pci Re: Mdk7.2 and Realtek 8019 Ethernet Card (DOKool)
  Re: Problems compiling error in modversions.h ? ("Pavan")

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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Telnet and vi
Date: Thu, 22 Mar 2001 04:15:32 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]

On Wed, 21 Mar 2001 08:20:04 -0500, Marc <[EMAIL PROTECTED]> wrote:
>How can I get a terminal session (e.g. telnet) to my linux box and have
>utilities such as vi work well ?  Currently, I can
>telnet, but cannot remotely use vi or other text utilities.  Any
>help/suggestions are appreciated.  Also, if I want to use ssh
>from a windows machine to my Linux box, what is recommended.

Besides the other suggestions about checking TERM after you login, note
that it is case sensitive.  So 'vt100' may work, but 'VT100' would not be
recognized (a common problem with Windows clients).  Also Win clients
often have settings about whether you want certain keys to be Windows
keys, or terminal keys.

I have had good results with Putty for ssh to Linux and Solaris, but I had
to use the related utility to create an RSA key for Putty, since with no
docs I did not know how to use my Linux generated key.  My desktop just
has ssh1, but SuSE 7.1 on my laptop came with OpenSSH.

-- 
David Efflandt  [EMAIL PROTECTED]  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://cgi-help.virtualave.net/  http://hammer.prohosting.com/~cgi-wiz/

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

From: "mari-k" <[EMAIL PROTECTED]>
Subject: Re: need inittab
Date: Thu, 22 Mar 2001 04:15:59 GMT

In article <99b93b$mka$[EMAIL PROTECTED]>, "Tai-Lin Chin"
<[EMAIL PROTECTED]> wrote:


> Could anyone send your /etc/inittab to me by email? I just need the
> most basic one to boot up my computer.  Thanks!

Backup files before you edit them (specially when root).

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

From: "mari-k" <[EMAIL PROTECTED]>
Subject: Re: Problem upgrading from 2.2.14 to 2.4.2
Date: Thu, 22 Mar 2001 04:18:23 GMT

In article <[EMAIL PROTECTED]>, "KCmaniac"
<[EMAIL PROTECTED]> wrote:


> Hoping somebody can help me with this.  I have configured and compiled
> the new kernal 2.4.2 with no apparent problems.
> I put new source files under /usr/src/linux and put the old source
> files under /usr/src/linux-2.2.14.
> I copied the new kernal image into /boot under the name vmlinuz-2.4.2.
> The old kernal
> is named vmlinuz-2.2.14 which I have kept in /boot.  The new
> System.map file is named
> System.map-2.4.2 and the old is System.map-2.2.14.  I insured that the
> System.map
> symbolic link in /boot is pointing to the new System.map-2.4.2.  I
> updated /etc/lilo.conf to reflect new kernal image which is to be
> mounted as root=/dev/hda5
> which is the same partition as the old kernal booted up in.  Upon
> reboot with new kernal a page of messages scrolls through but stops
> with the last three
> lines saying:
> VFS: Cannot open root device "305" or 03:05 Please append a correct
> "root=" boot option Kernal panic : VFS : Unable to mount root fs on
> 03:05  Boot process dies right there.
> My only option was to use a rescue disk to boot with vmlinuz which
> boots an old kernal
> that at least allowed me to boot up to a valid or useable desktop.
> There I was able to change
> everything back to the 2.2.14 kernal.  I reboot again and the linux
> system boots just fine with that
> kernal.
> Can anybody tell me whats going on here?  When I compiled the 2.4.2
> kernal its size was well under 640 MB(file size shows around 600).
> Is it possible that for some reason the new kernal does not like my
> disk partitioning whereas the
> old kernal is just fine with it??
> How can I remedy this problem to use the new kernal?  Thanks anybody
> for any advice!


Just follow the kernel-howto.. and read the docs included in the kernel
source.. you'll be set.
>

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

From: "mari-k" <[EMAIL PROTECTED]>
Subject: Re: /dev/null is read-only ?
Crossposted-To: linux.redhat,comp.os.linux.questions,comp.os.linux.networking
Date: Thu, 22 Mar 2001 04:19:41 GMT

In article <[EMAIL PROTECTED]>, "Dean Thompson"
<[EMAIL PROTECTED]> wrote:


> Hi Chris,
> 
>> My RedHat's 7.0 /dev/null is having some problems I think ;P  When I
>> rebooted my computer RedHat wouldn't boot any further because it was
>> complaining (sp ?) that /dev/null was a read-only filesystem. It
>> would then prompt me for root's password for repairing.  I did a ls
>> -l /dev/null and I got: -rw------- /dev/null
> That is certainly a strange error situation to get yourself into. 
> Once you have managed to get your system booting back into multi-user
> mode after entering in the root password (and doing a file system
> check with repairs) you might like to log in as root and issue the
> command: /dev/MAKEDEV std.  This should make all of the standard
> devices again (including /dev/null) and assign the appropriate owner
> and permissions to the device.  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       |                                          
>  |
> +----------------------------+--------------------------------------------+

I got:
crw-rw-rw-   1 root     root       1,   3 May  5  1998 /dev/null

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

From: "mari-k" <[EMAIL PROTECTED]>
Subject: Re: configure sound
Date: Thu, 22 Mar 2001 04:21:32 GMT

In article <998ish$1fhv$[EMAIL PROTECTED]>, "Patrick F. Clarin"
<[EMAIL PROTECTED]> wrote:


> What is the command to configure sound?

[root@localhost]$ rtfm &

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

From: Seetamraju Uday Bhaskar Sarma <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.admin
Subject: Re: Sending EMail from Crontab scripts IN HTML!!!
Date: Thu, 22 Mar 2001 04:31:47 GMT

Worked wonders.
I had the entire email saved as a file, with the appropriate headers
generated automatically, and voila...!
'sendmail -t' worked!

Thanks.

David wrote:

> Seetamraju Uday Bhaskar Sarma wrote:
> > Turns out that Netscape Mail Reader expects the following
> > as PART OF the email-header, else it will treat the msg as plain text.
> >
> >     MIME-Version: 1.0
> >     Content-Type: multipart/alternative;
> >             boundary="----=_NextPart_000_0006_01C0A9FF.718881A0"
> >
> > Any ideas on how to send email with custom headers -- or more
> > complex, are there any other  email programs that are better in this SPECIFIC
> > respect
> > when compared to '/bin/Mail'?
>
> It's nothing fancy but I use something like this for my cron mail
> scripts.
>
> (
>  echo "To: postmaster <[EMAIL PROTECTED]>"
>  echo "From: system <[EMAIL PROTECTED]>"
>  echo "Subject: Weekly Un-Owned files audit report"
>  echo
>
>  PATH=/sbin:/usr/sbin:/bin:/usr/bin:
>  export PATH
>  echo "List of Un-Owned Files on the system twinscrew include:"
>  echo
> /usr/bin/find / -nouser -o -nogroup
>
>  ) 2>&1 | /usr/lib/sendmail -t
> exit 0


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

From: "latompa" <[EMAIL PROTECTED]>
Subject: dhcpd and linux 2.2
Date: Wed, 21 Mar 2001 20:34:00 -0800

I'm trying to make dhcpd work for linux 2.2.12.

I run isc's dhcpd, version 2
I've read the gotchas on
http://www.europe.redhat.com/documentation/mini-HOWTO/DHCP/x369.php3

I've added routes and checked that my kernel is capable for multicast

Still, my linux box doesn't respond to any broadcast packages from dhcp
clients.

I have a FreeBSD box (which I moving from) with the same dhcpd.conf file,
and on the same subnet, and it works just perfectly.

What could be wrong?

Regards,
tompa



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

From: Seetamraju Uday Bhaskar Sarma <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake,comp.os.linux.help
Subject: ne/ne2k-pci Re: Mdk7.2 and Realtek 8019 Ethernet Card
Date: Thu, 22 Mar 2001 04:40:13 GMT

My old pentium 100/32M SIMM has TWO 16-bit ne200 PCI cards.
Its the gateway to the rest of the planet.
I do have ne2000 ISA  cards hanging from my wall as 'decorations'
& I think if you are the type to be working with ne2000 ISA cards,
you wouldn't be asking the questions below.

Choose 'ne2k-pci' as the ethernet adapter types, and everything
should be ok.  Don't bother with the IRQs and stuff.
You are choosing the wrong adapter device drivers by choosing 'ne'.

here's my dmesg dump as appropriate....

Feb 10 13:40:09 linux0 kernel: ne2k-pci.c:vpre-1.00e 5/27/99 D. Becker/P.
Gortmaker http://cesdis.gsfc.nasa.gov/linux/drivers/ne2k-pci.html
Feb 10 13:40:09 linux0 kernel: ne2k-pci.c: PCI NE2000 clone 'RealTek
RTL-8029' at I/O 0xff80, IRQ 11.
Feb 10 13:40:09 linux0 kernel: eth0: RealTek RTL-8029 found at 0xff80, IRQ
11, 00:00:21:C9:0A:9A.
Feb 10 13:40:09 linux0 kernel: ne2k-pci.c: PCI NE2000 clone 'RealTek
RTL-8029' at I/O 0xff40, IRQ 10.
Feb 10 13:40:09 linux0 kernel: eth1: RealTek RTL-8029 found at 0xff40, IRQ
10, 00:00:21:C2:1D:DD.

Sarma

DOKool wrote:

> I am THISCLOSE to being able to use @home on Linux... been exploring,
> trying things on my own... so after going through the proxy, making sure
> my netconf settings were all mirrored by what my windows settings are
> (took me a little while to figure out which needed to go where, but i
> did it), found HardDrake, configurated my soundcard (it was there),
> found my ethernet card, selected my ethernet card, brought up the
> configuration box, made sure my ethernet card was selected, pressed OK,
> and recieved this:
>
> /lib/modules/2.2.17-21mdk/net/ne.o : init_module : Device or Resource
> busy
> /lib/modules/2.2.17-21mdk/net/ne.o : insmod
> /lib/modules/2.2.17-21mdk/net/ne.o failed
> /lib/modules/2.2.17-21mdk/net/ne.o : insmod eth0 failed
>
> I know that there's one little thing that can fix this problem,  i just
> don't know what the one little thing is.  any ideas?
>
> Thanks,
> ~DOKool


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

From: Seetamraju Uday Bhaskar Sarma <[EMAIL PROTECTED]>
Subject: Re: small installation-how?
Date: Thu, 22 Mar 2001 04:47:44 GMT

I think I saw a how-to ./ mini-how-to the other day at linux.org.

Anyways, I suggest slackware, since its the most flexible.
If slakware hasn't changed in the past two years, you can
install 'floppy-by-floppy'.  4-5 yrs ago, I got it on a 386SX
16Mhz/5 megs RAM/40Meg HD.

But today most the "cool" stuff comes as RPMs.
If you want to compile your own drivers, you will need the
entire compiler, which if you didn't know, takes up a good 30-50%
of the entire REGULAR installation.

Go for a minimal install during a mandrake/redhat install.

Sarma

J wrote:

> i have heard  that  one
> of the advantages of linux is the ability
> to use older equipment.. i'd like to know how..
>
> I know that, for instance, CoyoteLinux fits on one floppy but its' for
> a specific purpose.
>
> i'd like to set up an old 486 box with limited ram 8-16M and hard disk
> space  under 400M just to rip and mp3 cds.. so i ned the kernal the
> ide drivers the cdda2wave, notlame
>
> any suggestions?
>
> I have install disks for RedHat 6.2


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

From: #banjo <[EMAIL PROTECTED]>
Subject: Re: Boot magic probs
Date: Thu, 22 Mar 2001 14:56:37 +1000

I had the same problem and although seemingly hit and miss at first, the
solution for me was GAG from http\\:freshmeat.net

Not sure if necessary but I mounted my /boot partition (only 10Meg) after my
4Gig WinMe
on the first HDD.

kskelton wrote:

> Apologies if this is a really stupid question, I'm a total newbie when it
> comes to Linux. I have recently installed Mandrake 7.2, I installed it on a
> separate Hard drive to my main Win98 partition. It is on a 7Gb partition on
> a 20GB hard drive, the other 12 odd gig is a dos partition I use for back up
> stuff from Windoze. I tried to install Boot magic to boot either Win98 or
> Linux, but it doesn't work, I can boot into Win98 ok, but if I choose Linux,
> it says starting Linux, and nothing happens ? Linux will load OK with a boot
> floppy I created using the mkbootdisk command, but I'd like to run Linux
> straight of my hard drive.  I also cant get my soundcard to work in Linux
> :((
> Any ideas or tips would be much appreciated . TIA
> my set-up is -:
> Abit KT7a-raid
> 2X41.1gb IBM HDD in raid 0
> Tbird 1gig
> 256mb crucial sdram
> 20gb IBM ( 7 GB Linux part. and 12 gig dos part.)
> Pioneer A103s DVD rom
> Creative CDRW 2444
> Turtle beach Sonic Fury
> Realtek 10mbit NIC


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

From: "TD" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.questions
Subject: SuSe Linux 7.2 or Redhat???
Date: Thu, 22 Mar 2001 05:43:55 GMT

I'm considering purchasing a retail version of Linux.  Is there a preferred
or recommended version of this software?  Comp USA has Mandrake, SuSe,
Redhat.

Thanks for your help.

TD



--
Sandy Valley Ranch ~ Your Western Adventure
www.sandyvalleyranch.com



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

From: "svlve" <[EMAIL PROTECTED]>
Subject: Problems compiling error in modversions.h ?
Date: Thu, 22 Mar 2001 05:52:22 GMT

I'm using Redhat 7.0
kernel version 2.2.16-22

I have a d-link network card and am trying to compile the driver with the
provided makefile and rtl1839.c when I compile I get:

/usr/include/linux/modversions.h:1:2: #error Modules should never use
kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but headers from an appropriate
kernel-source

I've done a search on groups.google, and it seems as if lots of people are
having this problem with modversions.h (the file just has those two lines in
it) Apparently redhat 7.0 changed around a few things, and the makefile was
created with pre 7.0 versions of redhat in mind. And this somehow affects
compiliations of kernel modules...or something

I'm a complete newbie at this. I've spent countless hours tyring to get this
to compile, but don't get anything that's going on. Neither redhat.com or
d-link.com seem to have any information on this. It seems to be a widespread
problem, but I can't find a solution...if someone could either post or
e-mail me a complete newbie friendly solution to this problem, it would be a
great help.

thank you very much,

Tim Wan
[EMAIL PROTECTED]







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

From: Tai-Lin <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,alt.uu.comp.os.linux.questions
Subject: halt in /sbin/init
Date: 22 Mar 2001 05:52:50 GMT

I installed linux to a 486PC with a flash disk manually.
When I booted up this computer, the booting process halted after mounted
the root file system. I traced into the kernel source code, and I am 
pretty sure that the kernel launched /sbin/init correctly.
However, the /sbin/init stuck halfway and didn't put any message 
on my screen.

Does anyone know what sequence the /sbin/init would execute after the
kernel is loaded and how could I trace the init to find where the process
stuck?
I copied /etc/inittab and /etc/rc.d from other computer. Is there any
thing that I should modify? What else should I copy to boot up my system?

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

From: "Matthew Lam" <[EMAIL PROTECTED]>
Crossposted-To: 
alt.linux,alt.os.linux,comp.os.linux.misc,linux.misc,linux.redhat,linux.redhat.misc,linux.support.commercial,redhat.config,redhat.general
Subject: Re: mem and swap problem
Date: Thu, 22 Mar 2001 12:48:50 +0800

My computer with RH 6.2 also wouldn't recognize the append="mem=256M"
parameter.  The problem was gone after running lilo 4 or 5 times
consecutively and reboot, though I never knew why.

"Sharkster" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Im running RH 7 on a PII 300 with 256 meg ram. The system is only
> recognizing 64 meg and has already adjusted the swap accordingly.
> I have already edited the lilo.conf with the " append="mem=256M". Ive run
> the LILO and rebooted. The system is still only recognizing 64 meg.
> Did I miss something in there and what was it. How can I adjust my swap to
> match the 256m.
>
> Sharkster
> 61517946
>
>
>



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

From: "Buzz Lightyear" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.questions
Subject: Re: SuSe Linux 7.2 or Redhat???
Date: Thu, 22 Mar 2001 06:09:25 GMT

All depends what you wanna do with it.
"TD" <[EMAIL PROTECTED]> wrote in message
news:vigu6.18157$[EMAIL PROTECTED]...
> I'm considering purchasing a retail version of Linux.  Is there a
preferred
> or recommended version of this software?  Comp USA has Mandrake, SuSe,
> Redhat.
>
> Thanks for your help.
>
> TD
>
>
>
> --
> Sandy Valley Ranch ~ Your Western Adventure
> www.sandyvalleyranch.com
>
>



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

From: "Matt O'Toole" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Difficult Linux version/distro question ?
Date: Wed, 21 Mar 2001 22:34:04 -0800


"peter" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...

> Ok guys, I posted a msg. about memory, etc and Linux.
>
> Now, I've gotten another machine with 32 megs in it, BUT instead of
> having two pentium system with 32 megs, I'm going to put 48 megs in
> one and 16 in the other. So, the big question is, what distro/version
> should I run in each system ?  I have Red Hat  6.1 and Mandrake 7.1
> laying around.  I'll pick up a new version, if you think the latest
> version are better.
>
> My systems break down like this:
>
> Socket 7, Cyrix p166, 48 megs (6 eight meg simms, strange MB), S3 trio
> video card, 3 gig HD, 4X cd-rom, network card, floppy
>
> Socket 5, Intel P100, 16 megs (4 four meg simms), trident 4 meg card,
> no HD yet (may use two 200 meg drives), no cd-rom (will hook one up
> for the install, then disconnect it), network card, floppy.
>
> I would like to run X-windows on the 48 megs system, and turn 16 meg,
> P 100 into a proxy,firewall (no X-windows here).
>
> So, maybe I should run mandrake 7.1 on the 48 megs system (KDE ?) and
> RH 6.1 on the 16 meg system ?
>
> What do you think ?
>
> As far as what I'll be doing on the 48 megs system, just learning
> about linux, programming, and the 16 meg machine will be a
> firewall/proxy/web server
>
> Over time,  I would like to use Linux  more and more, maybe it will
> become my main system.

If this is any help to you, I have a P150 system with 48MB, which has
Mandrake 7.2 installed.  It works fine but it's a bit sluggish, and it isn't
all just the lack of RAM.  The P150 is a little slow for KDE 2.  It was
zippier with KDE 1.x.   KDE 2.1 does seem faster than 2.0 on my Celeron, and
it probably would be on the P150 as well.  Anyway, it's a little sluggish
but still OK.  For snappier performance, I recommend a lightweight window
manager like Ice, Blackbox, or Windowmaker; or none at all.  I've even run
Netscape 4.7x on a P100 with 16MB, and it was fine as long as you're not
trying to do anything else.  You can use either Redhat or Mandrake on either
or both of your systems.  If you're using Redhat, I recommend 6.2.

Matt O.




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

From: Nader <[EMAIL PROTECTED]>
Subject: Re: compile error with 2.4.2
Date: Wed, 21 Mar 2001 22:54:58 -0800

I know how to make the 2.4.2 build error go away, but I don't know if there is
a negative impact of changing the source code to do it.

I found this fix posted somewhere (it took me many days of internet searching
to find it).  The author didn't know what the impact is either.

If you edit /usr/src/linux/arch/i386/kernel/i386.c:

1)  Comment lines 36 and 38:  if ( cpu_has_xmm )
2)  Comment line 49:  asm volatile( "fxsave %0 ; fnclex"
3)  Comment line 51:  } else {
4)  Comment line 78:  asm volatile( "fxstor %0"
5)  Comment line 80:  } else {

Try your build again.  I've been using my 2.4.2 kernel now for a week without
a noticible error due to this.  It may be a capability that I do not use.

Hope this helps...


Dave Thompson wrote:

> thanks, I'll do some more digging.  I too am running Caldera 2.3 -- I tried
> every processor downgrade that made sense -- the machine is actually a
> dual-processor celeron 500.
>
> Interesting thing is that it compiled fine and ran but I discovered that I
> had not turned on 'scsi generic' in the config required to operate the scsi
> CD burner on the machine -- once that was turned on, the compile error
> showed up.
>
> hmmmm
>
> Dave
>
> "C. L. Lewis" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Dave Thompson wrote:
> > >
> > > I'm getting a compile error with 2.4.2 that looks like the following,
> > > compiling i387.o if I understand it correctly:
> > >
> > > error: no such 386 instruction: 'ldmxcsr'
> > > make[1]: *** [i387.o] Error 1
> > > make[1]: etc etc.
> > >
> > > any ideas ??
> > >
> > > Dave
> >
> > On my Pentium 233 MMX, attempting to compile under Caldera 2.3 even with
> > all the upgrades recommended for the 2.4.2 Kernel, when I try to compile
> > for that particular processor. I get the same error. If I remember, I
> > tried compiling for a lesser or lower processor and dead ended at the
> > same point. The 2.4.0 kernel compiled and ran fine on it. I tried the
> > same thing on this machine, with COL, which is an AMD K6-2/550 3D and
> > came up with the same problem trying to compile for that particular
> > processor. I decided it was something with the compiler on the COL 2.3
> > since that is the only thing I could figure out that might be affecting
> > it which I hadn't changed. Modutils, sysutils, binutils etc. had all
> > been upgraded in accordance with the documentation with the 2.4.2
> > kernel. I didn't take it any farther on either machine, but 2.4.2 builds
> > and works fine on either with my RH 6.1 system.
> >
> > Other than that I haven't a clue. I don't have a COL system up at
> > present to check the compiler versions and it didn't make all that much
> > difference to me at the time.
> >
> > I'd venture egcs and gcc versions would be the place to start looking.
> >
> > Charlie
> >


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

From: DOKool <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux.mandrake,comp.os.linux.help
Subject: Re: ne/ne2k-pci Re: Mdk7.2 and Realtek 8019 Ethernet Card
Date: Thu, 22 Mar 2001 07:07:05 GMT

Seetamraju Uday Bhaskar Sarma wrote:

> My old pentium 100/32M SIMM has TWO 16-bit ne200 PCI cards.
> Its the gateway to the rest of the planet.
> I do have ne2000 ISA  cards hanging from my wall as 'decorations'
> & I think if you are the type to be working with ne2000 ISA cards,
> you wouldn't be asking the questions below.
>
> Choose 'ne2k-pci' as the ethernet adapter types, and everything
> should be ok.  Don't bother with the IRQs and stuff.
> You are choosing the wrong adapter device drivers by choosing 'ne'.

thanks for the help, i pretty much understood everything up to here.

>
> here's my dmesg dump as appropriate....
>
> Feb 10 13:40:09 linux0 kernel: ne2k-pci.c:vpre-1.00e 5/27/99 D. Becker/P.
> Gortmaker http://cesdis.gsfc.nasa.gov/linux/drivers/ne2k-pci.html
> Feb 10 13:40:09 linux0 kernel: ne2k-pci.c: PCI NE2000 clone 'RealTek
> RTL-8029' at I/O 0xff80, IRQ 11.
> Feb 10 13:40:09 linux0 kernel: eth0: RealTek RTL-8029 found at 0xff80, IRQ
> 11, 00:00:21:C9:0A:9A.
> Feb 10 13:40:09 linux0 kernel: ne2k-pci.c: PCI NE2000 clone 'RealTek
> RTL-8029' at I/O 0xff40, IRQ 10.
> Feb 10 13:40:09 linux0 kernel: eth1: RealTek RTL-8029 found at 0xff40, IRQ
> 10, 00:00:21:C2:1D:DD.
>
>




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

From: "Pavan" <[EMAIL PROTECTED]>
Subject: Re: Problems compiling error in modversions.h ?
Date: Thu, 22 Mar 2001 12:37:32 +0530

> I have a d-link network card and am trying to compile the driver
with the
> provided makefile and rtl1839.c when I compile I get:
>
> /usr/include/linux/modversions.h:1:2: #error Modules should never
use
> kernel-headers system headers,
> /usr/include/linux/modversions.h:2:2: #error but headers from an
appropriate
> kernel-source
>

Well this happens in RH7 because the kernel-headers package is version
2.4 & the kernel you are using is 2.2.16. What I suggest is to
recompile the kernel.

Not easy for a newbie. Well just install the kernel-source package.
Goto /usr/src/linux. Run make xconfig(easier). Click save and exit.
You don't have to answer any questions if you do this. Then run make
dep ; make bzImage ; make modules.

Stop here and your system should now have a correct modversions.h. Try
compiling your package and if the error persists, try uninstalling the
kernel-headers package.

-Pavan



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


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