This
HowTo is for installing a Intel 536ep Hardware modem to a Hard Drive installed
version of Knoppix 3.7. As much of the
installation was done from the KDE desktop as possible but use of the root shell
and command line is necessary in some places.
Hardware
used in this installation:
Asus
P4PE motherboard
Intel
Celeron 2.4ghz CPU
1GB
PC2100 memory
8gb
IDE IBM hard drive
Intel
536ep hardware modem (because it was cheap and the box said it would work with
Linux)
Operating
System Knoppix V3.7-2004-12-08-en. ,Kernel 2.4.27
Required files:
knxhdremaster_en-1.3.sh (do not use knxhdremaster_en-1.4.sh ! )
1.
Install
hard drive (8gb or bigger) and boot your Knoppix Live CD
2.
Open
Konsole at the prompt enter : sudo knoppix-installer
3.
If
your hard drive was not set up Qparted will launch and you will have to set up your
hard drive. I set up 6gb ext3 and 2gb linux swap. Don’t forget to Comit your
changes or they wont take effect. Goto step 5
4.
From
the Knoppix Installation menu select PARTITION and Qparted will launch to set
up your hard drive. I used an 8gb hard drive so I set up a 6gb ext3 partition
and a 2gb linux swap partition. Select COMMIT Exit the Qparted program and you
will be returned to the Knoppix Installation menu
5.
From
the Knoppix Installation menu select Configure Installation.
6.
Select
BEGINNER
7.
Install
to /dev/hda1 6gb (yours will be
different)
8.
Name
= admin (your name)
9.
User
= admin (your username)
10.
User
password = test (your password)
11.
Administration
Password = test (your desired password)
12.
Box
name = Remaster4 (this was my 4th attempt use whatever you want)
13.
Boot-loader
= MBR (Partition not tested)
14.
After
you finish step 13 you will be returned to the Knoppix Installer menu
15.
From
the Knoppix installer menu select Start Installation
16.
When
the installation is complete shutdown and remove the Live CD and reboot.
1.
Do
the following logged in as “root”. Copy the following files to /usr/src
2.
Open
a root Konsole (little penguin then root shell)
cd /usr/src
tar –zxvf
intel536-4.68.tgz
kwrite /usr/src/Intel536-4.68/Intel536_boot
locate and change:
mode = “777”
save and close the root shell
3.
Open
a root shell to continue. (You can use
the root shell opened in step 2 but you will get errors)
cd /usr/src
cp
Intel536_inst_debian Intel536-4.68
cd
/usr/src/Intel536-4.68
make clean
make 536
chmod 777
Intel536_inst_debian
./Intel536_inst_debian
Close root konsole
4.
From
Desktop run KPPP
5.
If
running Kppp from the desktop fails on the modem test open a root shell and
type Kppp at the prompt and try again.
1.
From
Kppp GUI select “Configure”
a.
From
the KPPP configuration GUI Select “Modems” tab
b.
Select
“New”
c.
Select “Device” tab
d.
Enter
“Intel536” for modem name
e.
Modem
device = /dev/modem
f.
Select
“Modem” tab
g.
Select
“Querry Modem” ( if you did everything right it will querry the modem and give
you results)
h.
Exit
the menus with the “OK” button until you get back to the KPPP configuration GUI
1. From the
KPPP configuration GUI Select “Accounts” tab
i.
Select
“New”
j.
Select
“Manual Setup”
i.
Select
“Dial” tab
ii.
Enter
your ISP name under “Connection Name”
iii.
Select
“Add” and enter the dial up phone number
k.
Select “IP” tab
i.
Check
the Auto-configure box (ignore the warning)
ii.
Exit
menus with the “OK” button
Dial up ISP and log in ( that’s what we have been doing all this for! )
1.
At
the KPPP “Connect to” menu enter your login id and password and click “Connect”
Set up /etc/init.d/modeminit so any user can use
KPPP
1. Open root shell
touch /etc/init.d/modeminit
chmod 777
/etc/init.d/modeminit
ln –s
/etc/init.d/modeminit
/etc/rc5.d/S99local
kwrite
/etc/init.d/modeminit
Enter
the following script
#! /bin/sh
cd
/lib/modules/2.4.27/kernel/drivers/char
insmod –f Intel536.o
ln –s /dev/536ep /dev/modem
chmod 777 /dev/modem
1.
Save
2.
Reboot
and test.
Issues – If Kppp fails when logged in as the normal
user run Kppp as root.
I want the drivers on a
Remastered LiveCD ! !
Make sure that the modem works and you can log in using the steps above before proceeding ! ! !
For
some reason the .iso file is too big when the CD is remastered with only the
modem driver added. I had to remove some files.
1.
Open
a root shell
apt-get remove
openoffice-de-en manpages-de trans-de-en
apt-get
remove enigma bacula-common
apt-get remove emacs21
emacs21-bin-common emacs21-common emacsen-common
Copy
remaster script to /usr/src
1.
copy
the script knxhdremaster_en-1.3.sh to /usr/src (do not use
knxhdremaster_en-1.4.sh)
2.
close
root shell
Running
the remaster script
1.
Open
konsole
2.
At
the prompt cd
/usr/src
3.
At
the prompt enter ./knxhdremaster_en-1.3.sh
4.
The
program will ask for your root password
5.
I
used the “folder on the same partition option”
6.
Script
will ask you to insert Knoppix 3.7 CD into drive if this is your first
remaster.
7.
Answer
the questions and proceed. (takes 60 minutes on my machine)
8.
When
the script is finished burn the .iso using the make CD from iso feature of your
burner software.
Unresolved
issues – LiveCD will not run the /etc/init.d/modeminit file during boot. I
modified my scripts to chmod 777 everything in order to get this to work but
without success. If you know how to do this please let me know. That is the
only thing preventing the loading the modem driver from being transparent to
the user. I also tried bootmisc.sh without success. When a Remaster is made it
seems all the rc.local and bootmisc.sh and other scripts are left behind. I
created a successful working remaster CD on my 3rd try using this
script. Sixteen remasters later to try and get the rc.local or other scripts to
load without success.
1.
Boot
remastered CD normally like the original.
2.
Log
in using your username and password
3.
Open
Konsole (the little computer screen thingy at the bottom)
4.
At
the prompt type: sudo
–u root /etc/init.d/modeminit
5.
Close
Konsole
6.
Start
Kppp and connect to the internet.
Disclaimer
Warning use this How to guide at your own risk. No
warranties are expressed or implied. You are responsible for your actions. By
using or following these steps in whole or in part you agree to these terms.
This is provided as educational material for your reading enjoyment. GNU license
rules apply where applicable.
Under no circumstances will any tech support be
offered as none can be offered.
Copyright 2005 [email protected]
all rights reserved