Rev | Author | # | Line |
---|---|---|---|
7 | GavinGrieve | 1 | !!!Turbocomm IA310 HOWTO |
4 | GavinGrieve | 2 | ----- |
2 | GavinGrieve | 3 | |
4 | GavinGrieve | 4 | !!Hardware Requirements: |
5 | * Turbocomm IA310 Internal ADSL Modem | ||
6 | * Spare PCI slot | ||
7 | |||
8 | !!Software Requirements: | ||
9 | * Kernel 2.4.2 or 2.4.16+ | ||
8 | GavinGrieve | 10 | * PPP-2.4.x compiled with [LinuxPPPoA] support |
4 | GavinGrieve | 11 | |
12 | !!Optional Software: | ||
13 | * linux atm packages (atm-tools deb in Debian) - I do not know if this is necessary or not - need to double check. | ||
14 | |||
15 | The driver for the IA310 is not in the kernel source, and is not distributed as source code. The best place I found for drivers is [http://www.nzdsl.co.nz/software/other/Default.htm]. | ||
16 | |||
17 | !!My Setup: | ||
18 | * Debian 3.0 (Woody/Stable) | ||
19 | * Linux Kernel 2.4.19 | ||
20 | * ppp 2.4.0b1 | ||
21 | |||
22 | !!Kernel Requirements: | ||
23 | !Code Maturity Level Options | ||
24 | * Prompt for development and/or incomplete code/drivers [[Y] | ||
25 | |||
26 | !Networking Options | ||
27 | * Packet Socket [[Y] | ||
28 | * Packet Socket: mmapped IO [[Y] | ||
29 | * Asynchronous Transfer Mode (ATM) (EXPERIMENTAL) [[Y] | ||
30 | * RFC 1483/2684 Bridged protocols [[Y] | ||
31 | |||
32 | !Network Device Support | ||
33 | * PPP (Point-to-Point Protocol) Support [[Y] | ||
34 | * PPP Deflate Compression [[Y] | ||
35 | * PPP Over Ethernet (EXPERIMENTAL) [[Y] | ||
36 | * PPP Over ATM (EXPERIMENTAL) [[Y] | ||
37 | |||
38 | Once You have restarted with the new kernel, it's time to install the binary module. The tarball I downloaded was Kernel-2.4.16.tar.gz. It has a few files, however the only ones you need are: | ||
39 | |||
40 | Kernel-2.4.16/2684-PPPoA-PPPoE/2684-PPPoA-PPPoE-User-Guide.pdf%%% | ||
41 | Kernel-2.4.16/2684-PPPoA-PPPoE/itex1577-2.4.16.o%%% | ||
42 | |||
43 | I decided the best place to put the driver was in /lib/modules/2.4.19/kernel/net/drivers. As the module is not compiled for the correct kernel version, you have to force the module to be loaded. | ||
44 | |||
45 | insmod -f itex1577-2.4.16 | ||
46 | |||
47 | You should see the following in your messages logfile: | ||
48 | |||
6 | GavinGrieve | 49 | Jan 27 16:23:28 dbx-akl-1 kernel: itexadsl: version= 2.2.7.ITEXPC86.0005 , built date= Thu Feb 7 11:16:17 PST 2002 |
50 | Jan 27 16:23:28 dbx-akl-1 kernel: itexadsl: card# 0, ix=0x0, bus=0x0, fn=0x78, ven=0x1471, dev=0x188 | ||
51 | Jan 27 16:23:28 dbx-akl-1 kernel: itexadsl: total 1 card(s) found. | ||
52 | Jan 27 16:23:28 dbx-akl-1 kernel: itexadsl: irq=0xc, ioaddr=0xe000, membase=0xd9000000 | ||
53 | Jan 27 16:23:28 dbx-akl-1 kernel: itexadsl: card #0 - MAC: 00:30:eb:c0:8b:d7 from eeprom. | ||
54 | Jan 27 16:23:28 dbx-akl-1 kernel: itexadsl: ITeX i90234 chip. | ||
55 | Jan 27 16:23:28 dbx-akl-1 kernel: init_module: cardcnt = 1 | ||
56 | Jan 27 16:23:28 dbx-akl-1 kernel: Into the GenCRC10Table | ||
57 | Jan 27 16:23:28 dbx-akl-1 kernel: Finished the GenCRC10Table | ||
58 | Jan 27 16:23:30 dbx-akl-1 kernel: itexadsl: modem line disconnected. | ||
59 | Jan 27 16:23:34 dbx-akl-1 kernel: card #0 - current modem state : INITIALIZING. | ||
60 | Jan 27 16:23:42 dbx-akl-1 kernel: itexadsl: modem line connected. (card_no: 0) | ||
61 | Jan 27 16:23:42 dbx-akl-1 kernel: itexadsl: upstream latency - interleaved | ||
62 | Jan 27 16:23:42 dbx-akl-1 kernel: itexadsl: downstream latency - interleaved | ||
63 | Jan 27 16:23:42 dbx-akl-1 kernel: itexadsl: card #0 - data rate: 800 / 5344 (line rate: 960 / 6296) kbps | ||
64 | Jan 27 16:23:42 dbx-akl-1 kernel: connect_bh:tx cell per msec 2 | ||
65 | Jan 27 16:23:42 dbx-akl-1 kernel: connect_bh: upstream rate 800 | ||
66 | Jan 27 16:23:42 dbx-akl-1 kernel: card #0 - current modem state : SHOWTIME_L0. | ||
4 | GavinGrieve | 67 | |
68 | At this point, the driver has loaded and is waiting for pppd to be started. | ||
69 | |||
9 | GavinGrieve | 70 | I attempted to find ppp-2.4.1 with [LinuxPPPoA] support, but this proved to be an impossibility. I found a patch to ppp-2.4.0 and attempted to port it to ppp-2.4.1, but failed. The version of ppp I ended up using was ppp-2.4.0b1. mattb has created a Debian package of the latest pppd with PPPoA support - see the [LinuxPPPoA] page for details. |
4 | GavinGrieve | 71 | |
72 | The last thing that needed to be done was setup the relevant ppp files. | ||
73 | |||
6 | GavinGrieve | 74 | /etc/ppp/options |
4 | GavinGrieve | 75 | |
6 | GavinGrieve | 76 | # Standard Options |
77 | lock | ||
78 | crtscts | ||
79 | hide-password | ||
80 | modem | ||
81 | lcp-echo-interval 60 | ||
82 | lcp-echo-failure 4 | ||
83 | noipx | ||
84 | noauth | ||
85 | defaultroute | ||
86 | # This commented out as I use my own DNS server | ||
87 | #usepeerdns | ||
88 | proxyarp | ||
89 | asyncmap 0 | ||
90 | # If connection dies, reconnect | ||
91 | persist | ||
92 | name yourusername@yourisp | ||
93 | user yourusername@yourisp | ||
94 | # Required for PPPoA Support | ||
95 | plugin /usr/lib/pppd/plugins/pppoatm.so | ||
7 | GavinGrieve | 96 | # VPI/VCI - these are for NZ |
6 | GavinGrieve | 97 | 0.100 |
4 | GavinGrieve | 98 | |
6 | GavinGrieve | 99 | /etc/ppp/pap-secrets |
4 | GavinGrieve | 100 | |
6 | GavinGrieve | 101 | # Username Provider Password |
102 | yourusername@yourisp * yourpassword | ||
2 | GavinGrieve | 103 | |
7 | GavinGrieve | 104 | The * means that this password will be used for all connections where the username is yourusername@yourisp. Next? Start pppd from the command line, and all things going well, boom shanka, you will have the following appear in your messages log: |
2 | GavinGrieve | 105 | |
6 | GavinGrieve | 106 | Jan 27 16:23:45 dbx-akl-1 kernel: itex_open: opening vpi.vci 0.100 on 0 NIC card |
107 | Jan 27 16:23:45 dbx-akl-1 kernel: itex_open: target cell rate (UBR) = 0 0 0 on 0 NIC card. | ||
108 | Jan 27 16:23:45 dbx-akl-1 kernel: InsertOAMF5Info: Vpi = 0, Vci = 100 | ||
109 | Jan 27 16:23:45 dbx-akl-1 kernel: Finish InsertOAMF5Info | ||
110 | Jan 27 16:23:45 dbx-akl-1 kernel: Into the CAtmOAMF5Init | ||
111 | Jan 27 16:23:45 dbx-akl-1 kernel: Finish CAtmOAMF5Init | ||
2 | GavinGrieve | 112 | |
7 | GavinGrieve | 113 | and you will have a ppp network device, and a connection to your ISP. |
lib/blame.php:177: Warning: Invalid argument supplied for foreach()