All,

I am a linux newbie and have a few questions regarding connecting my RedHat
6.1 installation to the internet via my DSL modem.    I am using two KTI
Networks 10/100 Dual-speed Fast Ethernet PCI Adapters and am having trouble
connecting up.  I have been following Mr. Barkakati's instructions in Red
Hat Linux Secrets as detailed below.  Eventually, I desire to setup IP
masquerading for an internal network using my DSL modem to the outside
world.

My questions are:
        How do I setup the ethernet card?  <Errors are>  [See 3) a) i) (4) below ]
                SIOCSIFADDR: No such device
                eth0: unknown interface: No such device
        How do I know which card is on?
        Do I need to set the IP address for the second Ethernet card for the
internal network (e.g. Class C 192.168.1.1)

Thanks, in advance.


Here are the steps that I have take so far:
>From �Red Hat Linux Secrets� (RHLS) Naba Barkakati
1)      RHLS-p563.  /etc/conf.modules should contain an alias line for each
Ethernet card.
a)      Added alias eth1 rtl8139
2)      Install Linux drivers for KTI Fast Ethernet PCI Adapter
a)      Installation Guide recommends I load Linux drivers.  None found on
Diskettes.  Downloaded zip from www.ktinet.com <http://www.ktinet.com>.
b)      RHLS-p293.  Reviewed Kf230tx2.txt file in Linux subdir.  Reviewed
/usr/src/linux/drivers/net for (RHLS-p562) RealTEk 8139 driver rtl8139.c.
Found it.
c)      reBuild the Kernel to include routing and automatic detection for
multiple Ethernet Cards
i)      Executed make config from usr/src/linux
(1)     Development: N
(2)     Processor Family: Pentium/K6/TSC
(3)     Networking Support: Y
(4)     Network block device support: Y
(5)     TCP/IP Networking: Y
(6)     RHLS-p566 To allow automatic detection for multiple Ethernet Cards
(a)     IP: advanced router: Y
(b)     IP: optimized as router not host: Y
ii)     Executed make dep; make clean; make zImage
(1)     Got error. RHLS-p134.  �System too big� error to fit in 640KB memory
space.  Run �make bzImage� instead. Clock(5minutes)
d)      Build modules. RHLS-p135
i)      cd /usr/src/linux; make modules; Clock(10minutes)
ii)     mv /lib/modules/2.2.12-20 to /lib/modules/2.2.12-20-old;
iii)    make modules_install; Clock(10minutes)
iv)     Record ethernet board settings via cat /proc/pci RHLS-p563,567
(1)     Device 18, IRQ 10, io 0xd800; device 19, IRQ 5, io 0xdc00
e)      Install the New Kernel
i)      Execute �cp /usr/src/linux/arch/i386/bzImage /boot
ii)     Save old system map
(1)     Execute �mv /boot/System.map-2.2.12-20 <same>-old; cp
/usr/src/linux/System.map /boot/System.map-2.2.12-20; cd /boot; ls -l
System.map-2.2.12-20 System.map;�  <Verify link exists>
iii)    Edit /etc/lilo.conf
(1)     Change to �image=/boot/bzImage�
(2)     Add after �default=linux�, �append=�ether=10,0x800,eth0
ether=5,0xc00,eth1��
iv)     Install the new lilo by executing �/sbin/lilo�
v)      Type �reboot�
(1)     Verify new kernel via �uname -srv� checking for timestamp
(2)     Execute �cat /proc/net/dev�
3)      Configuring TCP/IP networking
a)      Execute �netcfg�
i)      Key files
(1)     Name servers    /etc/resolv.conf
(2)     Hostname        /etc/sysconfig/network
(3)     Key in values for eth0
                (4)Type in �ifconfig eth0 216.118.30.186 netmask 255.255.255.0
broadcast 216.118.30.255�


Joe Diosana
Bluware, Inc. (www.bluware.com)
Mobile:   713-553-4563
Fax:       603-849-8564
Email:    [EMAIL PROTECTED]

BEGIN:VCARD
VERSION:2.1
N:;Diosana, Joe (Bigfoot)
FN:Diosana, Joe (Bigfoot)
ORG:Bluware, Inc
TITLE:Consultant
TEL;HOME;VOICE:713-467-3767
TEL;CELL;VOICE:713-553-4563
TEL;PREF:713-553-4563
ADR;WORK:;;1814 Creek Drive;Houston;TX;77080-6819;United States
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:1814 Creek Drive=0D=0AHouston, TX 77080-6819=0D=0AUnited States
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:19991122T170058Z
END:VCARD

Reply via email to