File: INSTALL

package info (click to toggle)
pentanet 2.3.1-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 1,124 kB
  • ctags: 2,082
  • sloc: ansic: 7,840; sh: 598; makefile: 251
file content (110 lines) | stat: -rw-r--r-- 4,521 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
Pent@NET package for Linux

For detailed information about this driver and how to use it please check the README file.  

REQUIREMENTS:
-------------
* Linux kernel 2.4.x or greater
* It be tested on kernel 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8 2.4.9 2.4.10 2.4.12 2.4.14 2.4.15 2.4.16 2.4.17,2.4.18
* autoheader v2.13 or above
* autoconf v2.13 or above
* aclocal v1.5 or above
* automake v1.5 or above
* gtk+,gdk v1.1.2 or above for only pentanetx
* glib v1.1.3 or above for only pentanetx
* X11R5 (or above) and libraries for only pentanetx

Following are the installation instructions 

COMPILING and INSTALLING
------------------------

shell> tar zxvf pentanet-(RHx-)x.x.x.tar.gz
shell> cd pentanet-(RHx-)x.x.x
shell> autoheader
shell> autoconf
shell> aclocal
shell> automake
shell> ./configure
shell> make clean
shell> make 
shell> make install (You have to be the root user.)

optionally if you need the graphical application, you must compile them by manual.
shell> cd apps/xwinapp
shell> make

A more detailed descripton follow.

1. Untar the pentanet-(RHx-)x.x.x.tar.gz
   $ tar zxvf pentanet-(RHx-)x.x.x.tar.gz
   This will create a subdirectory, pentanet-(RHx-)x.x.x/

2. cd pentanet-(RHx-)x.x.x/

/* Note I*/
==========================================================================
Make sure that kernel source you are using ( NOT the source of some other kernel ) are in the directory /usr/src/linux.  Otherwise, you must change the path for kernel source to /usr/src/linux or link the path for kernel source to /usr/src/linux (i.e ln -s [your kernel source] /usr/src/linux) Note that the configuration of the driver sources also has to match that of the kernel you are running.
==========================================================================
  
/* Note II*/
==========================================================================
all drivers with RH7x,RH8.0 support as follow.
 - Just Redhat-linux 7.x/8.0 with any kernel source(2.4.x)
 
 - You must select KERNEL_LOCATION in driver/Makefile.am as your environment.  
 - By default, KERNEL_LOCATION in driver/Makefile.am is set as /usr/src/linux-2.4. This is for the Redhat 7.1 with default kernel 2.4.2-2.
 - For example, if your kernel source's location is /usr/src/linux pointer /usr/usr/linux-2.4.x, KERNEL_LOCATION in driver/Makefile.am must be set as /usr/src/linux.    

all drivers without RH7x support as below.
 - Redhat-linux without any kernel source (2.4.x)
 - Mandrake-linux 8.x with any kernel source(2.4.x)

 - You need not select KERNEL_LOCATION in driver/Makefile.am if the kernel source does not exist.
 - For the Mandrake 8.x with default kernel 2.4.8-26mdk, you must set 
  /usr/src/linux for KERNEL_LOCATION in driver/Makefile.am
 - For example, if your kernel source's location is /usr/src/linux pointer 
   /usr/usr/linux-2.4.x, KERNEL_LOCATION in driver/Makefile.am must be set as /usr/src/linux.    

In common, if you see the error message as below when run 'make', you must check and modify KERNEL_LOCATION in driver/Makefile.am according to your kernel source running.

	#error Modules should never use kernel-headers system headers,
	#error but header from an appropriate kernel-source

 - if you modified the driver/Makefile.am, first of all executes 'automake'.
==========================================================================

3. create all autoconfig scripts as below,
	shell> autoheader
	shell> autoconf
	shell> aclocal
	shell> automake

4. compile all manualy with 'make' 
	shell> make

  - to use the graphical tunner application, you must go there(apps/xwinapp) and then compile it manually
	shell> cd apps/xwinapp
	shell> make

5. then install as root the driver and it's related apps with 'make install'. 
	shell> make install

  - the driver named 'pentanet.o' and 'scannet.o' will be already copied to yourcurrent kernel module directory.
  - if your system supports sysconfig/network scripts(RedHat 5.2,6.x,7.x,8.0, Mandrake 8.1, Open linux 3.1), a small ifcfg-pentanet0 script will be copied to your rc directory to start the driver at boot time.

   Notice that the installation requires root priviledges so you must run the 'make install' as root.
 
6. to tune the receiver to the right settings run 'pentanetx' (graphical version) or pentanett(console version).

Check the README file for more informations about using the apps.





UNINSTALLING
------------------------

shell> cd pentanet-(RH7x-)x.x.x
shell> make uninstall (You have to be the root user.)