The PC is:
Pentium I 75Mhz
HD= 4.3Gb
RAM= 64Mb
VGA= S3 Trio
Ethernet= ISA 3Com c509
Wireless= Conceptronic Airbridge 11iDT (PCI)
CDROM 44x
First: Enter the BIOS setup utility and choose:
No floppy disk, Boot from CDROM and Halt on NO Errors. That's because once
all intalled, we won't connect a keyboard nor a VGA card an do not wish to
have Keyboard Not Found errors.
Then Insert first Red Hat 8.0 CD and select linux text.
Welcome to Red Hat linux, CD found, Media test, SKIP.
Welcome to Red Hat linux press OK.
Select Language, we choose Spanish.
Select keyboard type: es (spanish)
Mouse Selection: no mouse OK
Installation type: Custom
Hard Disk Partition Configuration: Select Disk Druid
Delete all existing partitions and create one ext3 / and other swap
The hard disk is 4110Mb we choose:
3900Mb ext3 as /
The remaining space SWAP 211Mb
press OK.
Boot Loader Config: Choose GRUB.
Boot Loader additional parameters: just press OK (we dont need it)
Password for GRUB write one if you want.
Default boot loader configuration: Red Hat Linux /dev/hda1 OK.
Boot Loader install choose to install on MBR.
Firewall Configuration: None and OK.
Additional language to use on this sistem: Spanish (Spanish) OK.
Time zone: Europe/Madrid
Root Password: enter the password on both textbox and OK.
Add users: Add a user with his own password. OK.
Authentification Config: The Defaults are:
* Shadow passwords
* MD5 passwords
OK
Packages selection: We have 4Gb of disk space so, we installed more than we
need.
* Administration tools
* Development Tools
* Editors
* FTP Servers
* Kernel Development
* Network Servers
* Server Configuration tools
* System Tools
* Text Based Internet
* Web Server
Total: 1183 Mb.
OK
A complete system log will be created. Press OK.
Now its time to wait... installation is copying files to your hard disk.
Change to CD disk 2 when requested.
Create a boot disk, since we have not floopy disk we don't create it.
Congratulations, press OK
The CD-ROM will be ejected, remove it, the sistem will reboot.
We only used CD 1 and 2 of Red Hat linux.
The system will boot, and kudzu detects our ethernet card, we press Configure
Do you Like to setup networking? YES
Configure TCP/IP
IP adress 192.168.0.69
Netmask: 255.255.255.0
Default Gateway (IP): 192.168.0.1
Primary Nameserver: 195.235.113.3
OK
The login screen appears, login as user: root and your password.
Type setup and go to System Services
Unselect:
isdn
lpd
sendmail
and Select:
httpd
vsftpd
and quit, now reboot
This driver can be found here
http://hostap.epitest.fi/
I downloaded this version (lastest rigth now) : hostap-2002-09-12.tar.gz
wget -c http://hostap.epitest.fi/releases/hostap-2002-09-12.tar.gz
tar -zxvf hostap-2002-09-12.tar.gz
cd hostap-2002-09-12
now check for wireless-tools
rpm -qa |grep 'wireless-tools'
it says that redhat 8.0 comes with lastest version wireless-tools-25-1 and
it's installed on our system. To check for newer versions, go to www.rpmfind.net
and search for wireless.
cd /usr/src/
ln -s linux-2.4 linux
cd linux/configs
Here the .config files remains.
cp kernel-2.4.18-i586.config ../.config
cd /root/hostap-2002-09-12
make pccard
make install_pccard
chmod 644 /etc/pcmcia/config.opts
edit /etc/pcmcia/config.opts and add this lines at bottom:
card "Conceptronic Wireless"
version "802.11", "11Mbps Wireless LAN Card"
bind "hostap_cs"
We need to install bridge-utils package, could be downloaded from:
http://bridge.sourceforge.net/bridge-utils/bridge-utils-0.9.6-1.i386.rpm
and also comes on Red Hat 8.0 CDs.
cd /root
wget -c http://bridge.sourceforge.net/bridge-utils/bridge-utils-0.9.6-1.i386.rpm
rpm -Uvh bridge-utils-0.9.6-1.i386.rpm
cd /etc/sysconfig/network-scripts/
emacs ifcfg-eth0
Leave only this lines:
DEVICE=eth0
IPADDR=192.168.0.69
NETMASK=255.255.255.0
BOOTPROTO=static
ONBOOT=yes
GATEWAY=192.168.0.1
Save and exit
emacs /etc/sysconfig/network-scripts/ifcfg-wlan0
Leave only this lines
DEVICE=wlan0
MODE=Master
ESSID="sorgonet.com"
RATE=auto
TXPOWER=auto
KEY=""
BOOTPROTO=static
ONBOOT=yes
/usr/bin/prism2_param wlan0 host_decrypt 1
IPADDR=10.0.0.1
NETMASK=255.0.0.0
NETWORK=10.0.0.0
Save and exit.
To Share the internet connection add this lines to rc.local:
emacs /etc/rc.d/rc.local
#Activate ip_forward
echo 1 > /proc/sys/net/ipv4/ip_forward
#Delete rules
/sbin/iptables -P INPUT ACCEPT
/sbin/iptables -F INPUT
/sbin/iptables -P OUTPUT ACCEPT
/sbin/iptables -F OUTPUT
/sbin/iptables -P FORWARD DROP
/sbin/iptables -F FORWARD
/sbin/iptables -t nat -F
#Apply new rules
/sbin/iptables -A FORWARD -i wlan0 -o eth0 -m state --state ESTABLISHED,RELATED
-j ACCEPT
/sbin/iptables -A FORWARD -i eth0 -o wlan0 -j ACCEPT
/sbin/iptables -A FORWARD -j LOG
/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Save and exit.
To install a DHCP server to assign IP address to clients follow the steps:
You can found the package on redhat 8.0 CDs dhcp-3.0pl1-9.i386.rpm
rpm -Uvh dhcp-3.0pl1-9.i386.rpm
setup
select System Services, and check DCHPD to run it automatically when system
boots.
emacs /etc/dhcpd.conf
Put this lines:
option routers 10.0.0.1;
option domain-name-servers 195.235.113.3, 195.235.96.90;
subnet 10.0.0.0 netmask 255.0.0.0 {
range 10.0.0.100 10.0.0.250;
}
ddns-update-style ad-hoc;
Save and exit.
reboot
|