Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: installing NetComm driver, command not found< Next Oldest | Next Newest >
tonymoloney Offline





Group: Members
Posts: 26
Joined: Dec. 2005
Posted: July 07 2007,05:19 QUOTE

I'm a Linux newbie but I've worked in all versions of DOD etc.
I've set up DSL on anold IBM Aptiva and everything works fine except access to the Internet. I installed a NetComm NP1100 NIC and tried to install the Linux drivers using the following instructions off the CD

"  Linux driver for kernel 2.2.X
 
 The procedure to activate NP1100_R 10/100M WOL Fast Ethernet card
 on linux is as follows:
 
 step 01: Copy the driver source files to a convenient directory.
 
 step 02: Compile
          The instruction for compiling the driver is include at the
          end of the driver file.If a compile-command is not there use
          the following compile command:
          (Run this instruction at /usr/src/linux)
         
          *compile-command:
          " gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c np11004.c "
           
          Or you can use the Makefile included in the driver disk \LINUX.
 
 step 03: Copy the module "np11004.o" to
          "/lib/modules/{kernel-version}/net"
 
          *The directory "{kernel-version}" stands for the Linux kernel
           version you use.
 
 step 04: Insert the driver as module:
          insmod np11004.o
          (Run 'lsmod' to see if the module is inserted)
 
 step 05: Bind your card to an IP address
 
          /sbin/ifconfig eth0 ${IPADDR} broadcast ${BROADCAST}
          netmask ${NETMASK}
          (Run 'netstat -i' to see if there is a interface 'eth0')
 
 step 06: Add your card to IP routing table, then add gateway also
          your card:
          /sbin/route add -net ${NETWORK} netmask ${NETMASK} eth0
          (Should be able to ping local network now)
         
          gateway:
          /sbin/route add default gw ${GATEWAY} netmask 0.0.0.0 metric 1
 
 step 07: Start inet daemon.
          /usr/sbin/inetd
          (You are on the network now)
 
 *make sure that your kernel is built with network, fast_ethernet and
  module support. Otherwise, you have to rebuild your kernel.
  ( 01:Go to /usr/src/linux directory
    02:Run "make menuconfig" or "make config"
    03:Mark the options list above.
    04:Exit and rebuild your kernel.
       make dep;make clean;make zImage
       the file "zImage" will be at
       /usr/src/linux/arch/i386/boot/zImage
    05:Modify /etc/lilo.conf.(this file specify where kernel image is)
    06:Run "lilo" )
 
 You can run "netconfig" which will do step 05,06,07 for you.
 
 Then just add a line at the beginning of "/etc/rc.d/init.d/network".
 
       " insmod /lib/modules/{kernel-version}/net/np11004.o "
       
       *The directory "{kernel-version}" stands for the Linux kernel
        version you use.
 then your driver will work every time you boot."

Problem is the compile command gcc is not recognised and neither is the /usr/src/linux directory found.
The card works as is, but response is very slow.
My Kernel is 2.4.31 and lspci shows the network card chipset as Realtek Semiconductor

Also, if I get past the first few problems, what do I put at the {IPADDR}, {BROADCAST} and {NETMASK} variables? at step 5?

Any help will be most valuable as I'm trying to get away from Micro$oft.
Thanks
Tony


--------------
The older I get, the better I was.
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: July 07 2007,07:15 QUOTE

What version of DSL are you using? The latest version is 3.4 which has linux 2.4.26 - it sounds like you may be using DSL 2.1 which I seem to remember uses linix 2.4.31.

To be able to compile your module, you will need to load the gnu-utils, gcc1-with-libs and kernelsources extensions from the DSL myDSL repository.
Back to top
Profile PM 
tonymoloney Offline





Group: Members
Posts: 26
Joined: Dec. 2005
Posted: July 07 2007,07:30 QUOTE

Thanks Juanito.
You're right. I am way back at 2.1 and the kernel is 2.4.31 - that was a typo.
I'll follow your instructions and hopefully my next message will be from DSL and not Micro$oft.
Tony


--------------
The older I get, the better I was.
Back to top
Profile PM 
tonymoloney Offline





Group: Members
Posts: 26
Joined: Dec. 2005
Posted: July 09 2007,00:29 QUOTE

Hi Juanito
Sorry to have to come back to you for more help, but as my Netcomm driver has not been installed properly yet, my Internet link won't stay up long enough for me to download and install those modules.
So I've had to download them manually using Windoze and my question is now, how do I install those modules?
Thanks in advance
Tony


--------------
The older I get, the better I was.
Back to top
Profile PM 
tonymoloney Offline





Group: Members
Posts: 26
Joined: Dec. 2005
Posted: July 09 2007,01:08 QUOTE

Sorry Juanito, please ignore my last post. I've just found the instructions on the web site.
Tony


--------------
The older I get, the better I was.
Back to top
Profile PM 
5 replies since July 07 2007,05:19 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: installing NetComm driver

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code