[lug] Linux DE-220p install Tip

Ed Zuris edz at aa.net
Tue Sep 21 23:09:19 MDT 1999


 How to get your DE-220p network card to work
 in the Linux OS environment.

 Suggested search topic / words:

 DE220, DE220p, Linux, Driver,  Drivers,
 Network, NIC, Network Interface Card,
 Network Adapter TCP/IP, IP, hardware,
 computer, Internet

 Written by Edward Zuris at edz at aa.net

 Having Windows2000 and Linux coexist on the
 same PC system using the DE-220p NIC card
 was a challenge to reverse engineer.  However,
 the DE220p.Txt file will provide you with valuable
 information on how to complete this task.

 The DE-220p (NIC) Network Interface Card has
 a few,  features, which make using it a bit
 unusual.  It is almost a NE2000 compatible device.
 The "ne.c" module/driver was written by
 Mr. Donald Becker.    

 Mr. Donald Becker can be reached using his
 Email address ->   becker at cesdis.gsfc.nasa.gov

 Mr. Donald Becker's, assistance was and is greatly
 appreciated.  His help made the following possible 

 One example of the "ne" source "c" can be downloaded from
 http://www.cs.utexas.edu/users/peterson/linux/drivers/net/ne.c

 The drivers provided by D-Link for the DE-220p
 should be ignored as they can be prone to
 unexpected contretemps.

 If you find yourself in a situation where you want
 to use either Linux and/or Windows2000.  Here is
 a procedure that can get you up and running. 

 First you start on the Windows/Dos side and use
 the DLink setup program.  If you don't have the DLink
 setup program you can download it from www.dlink.com
 The setup program will allow you to manually configure
 the DE-220p or DE220 NIC card's parameters.  When
 in the manual configuration option disable the Plug
 and Play feature first.  This will allow you to change
 the I/O Address and the IRQ settings.   With Plug
 and Play disabled those settings should stay after
 rebooting.


 Select values which do conflict with the other
 cards or devices which you may have installed
 in your PC computer system.   For example on
 the example computer system the Address of
 340 and IRQ 10 were selected.  Once those
 settings were changed to the correct values.
 Press the F2 key to write the new settings into
 the DE-220p or DE200 non-volatile memory.
 At which time you'll be asked to reboot your PC.  
 Please remove any floppy disks and reboot.
 
 Once the PC system has finished rebooting you
 will need to go to the Windows control panel
 and select networking in the case of Windows95.
 If your are working with Windows2000 select
 the System Icon and remove any previous
 DE-200p adapter Icon if there it is one
 already there.

 Reboot the PC again.   In Windows95 go back to
 the Control Panel / Network Icon and add a new
 network adapter.  Select only the Microsoft
 provided DLink Pnp Adapter.   The drivers on
 the DLink floppies or downloads have issues.
 Change the settings in proprieties box to match
 the changes you made to the DE-220p card.

 If in Windows2000 go to control panel selecting
 the Add new hardware Icon.  Select the Add/Trouble
 shoot check box.  A list should appear and select
 "A new device" at that time another list appears.  
 Select Network adapter and select DLink.   Use
 only the Microsoft provided  DE-220p driver.
 This may look strange, but if you use the Non-Pnp
 driver from DLink it will disable the NIC IRQ
 settings.  Once again, please only use the
 Microsoft provided DLink (Pnp) Driver, even
 though (Pnp) "Plug aNd Play" has been disabled.

 Work you way back out of the cascading Windows
 reverse the way you got in until you see the
 close button.    When you click or  press the
 close button Windows will ask to reboot your
 computer.     Please Select NO.


 Find the System Icon in control panel and
 select hardware.  A directory tree will appear. 
 Select the Network adapter symbol and click
 the plus sign.  Select the DE-220 line and either
 right mouse click or click the proprieties button. 

 In the proprieties selection window change NIC
 resource values to reflect the changes you made
 to the DE-220p card with its setup program.  Work
 your way back out of the cascading windows and
 finally close the control panel.   At that point
 Please can reboot your PC computer system.
 There are a dozen or so Windows2000 settings,
 and you can learn those particulars on your own,
 to get "NetBEUI" to the point where you can do
 peer to peer network activities with other Windows
 PC based computer systems on your local area
 network.
 
 By the way be sure that you have selected and
 Added the Microsoft TCP/IP protocol.  This the
 protocol Windows and Linux uses to send data
 between themselves.  Make sure you have put
 in the correct TCP/IP addresses and masks.

 Now it is on to the Linux side of the operation. 
 Once you have booted Linux, you will note an
 error of  "eth0 unknown Interface" will flash on
 your screen.  Don't worry. 

 Once the Linux system is up, Log into the
 "root" account.    While at the root line prompt
 type in the LISA command and press the enter
 or return key.

 In the Lisa window select System Configuration.
 Select which is item 3.  The second System
 Configuration window will activate.   From this
 window select item 2, system configuration and
 press the enter/return key.  From this second
 system configuration window select item 7,
 Kernel Module Administration.    In that LISA
 Window select item 5, Load Kernel Modules
 and press the enter/return key.  Work your way
 down the list until you get near to item 153.
 The Kernel Module you want to load is called
 "ne".   Select the "ne" module and press the
 enter/return key.


 After a few seconds LISA will report it could
 not load or initialized module "ne".  Press the
 enter/return key to indicate "OK".   LISA will
 now ask for the Kernel Module Boot Parameters.
 In the example the DE-220p card has been
 set to Address 340 and IRQ 10.  For the example,
 computer in the below values in indicated box:

       io=0x340 irq=10

 then and press the enter/return key. 
 Most likely you will have different values
 to enter.   Press the enter/return key and
 with any fortunateness and good luck Linux
 should be happy, if Not then you will have
 to contact a good Linux expert for help.
 
 After a few seconds you should see the 
 Administration of Loadable Kernel Modules
 LISA Window.  Press the (Esc) key to go
 back one window.  From the inner System
 Configuration LISA window press (Esc)
 to go back another LISA window. You will
 note there are less cascading windows to
 worry about in Linux than in Windows2000.
 Press (Esc) again to get to the outer System
 Configuration LISA window. 

 From the outer or first System Configuration
 LISA window select item 3, Network Configuration.
 In the Network Configuration window select 
 item 2, Configure Network Access.   In that
 LISA window select Configure Network Card.
 LISA will then ask you if you have a Network
 Card.  Select YES and press the enter/return
 key.   Please note you can use the (tab) key
 to navigate to and from the different selections.

 The Network Interface window should appear.
 LISA will then ask is "eth0" correct ?   
 If you have just one network card in the PC
 this is correct.  Indicate OK by pressing the
 Enter key.  This will bring up the IP address
 window. Enter in the Tcp/Ip address which has
 be chosen for your PC computer system.
 In the example the value of 192.12.15.199
 has been selected.  Press the enter/return
 key to load the new Tcp/Ip address.


 Now comes the Network Mask Entry LISA
 Window.   In the example 255.255.255.0
 was entered in.   Press enter/return key
 to load the values into Linux.   Following
 this the LISA Broadcast IP Window will appear.
 Linux assigns the value of 192.12.15.255
 for the example.  You may have a different
 value.   Press the enter/return key to load.

 Now all the Tcp/Ip information has been
 entered into LISA Linux.  Start pressing
 the (Esc) escape key until you Exit the
 LISA utility.  This should bring you back
 to the Linux root prompt.   Press the enter
 return key to generate a root prompt.
 
 Now you need to test the Network to see
 if everything is working.  To do this the
 ping command is used.   In the example:  
 ping 192.12.15.17 was used to see if the
 another computer could be reached.  
 That address referenced a VAX computer
 in the example.  This was done to see if
 another computer could respond to pings
 from the newly configured Linux computer
 system.  On the example PC it all worked.

 At the "root" prompt command line enter in
 the word  ping  followed by a space and the
 address of another computer and press the
 enter/return key.   If things are working
 you should see replies.   After a dozen or
 so pings, Please hold down the (Ctrl)
 control key and at the same time tap the
 letter "C".   This will stop the ping
 process.   Congratulations you have just
 successfully configured Linux to use your
 DE-220p Network Interface Card.

 Best of luck and have fun with you new
 Linux system.






More information about the LUG mailing list