| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 14081 | 2001-12-28 20:26:00 | linux and pppoa | Guest (0) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 28959 | 2001-12-28 20:26:00 | Hi First sorry for this but its a bit lengthy but please bear with me. I have a Nokia Ni200 internal adsl modem and am trying to get things up and running under linux. The chipset used by this card is made by itex who have recently brought out a driver for their chipsets to work with linux. It involves recompiling the kernel with a patch here and there. Along with the files thay supplied was a document explaining what to do and how to check that if everything was running ok ie look in the /var/log/messages. The document says load the driver by doing this insmod -f itex1577.o and then check the log and you should see this itexadsl: version = 2.25, built date = Fri, Sept. 15 14:20:18 PST 2001 itexadsl: card #0, ix=0x0, bus = 0x0, fn = 0x28, ven = 0x1471, dev = 0x188 itexadsl: total 1 card(s) found itexadsl: irq = 0x3, ioaddr = 0x2000, membase = 0x41100000 itexadsl: card #0 ? MAC: 00:90:96:06:21:d9 from eeprom itexadsl: ITeX i90388 chip init_module: cardcnt = 1 itexadsl: modem line disconnected. card #0 ? current modem state: ACTIVATING card #0 ? current modem state: INITIALIZING itexadsl: modem line connected. (card_no: 0) itexadsl: upstream latency ? fast itexadsl: downstream latency ? fast itexadsl: card #0 ? data rate: 864/8128 (line rate: 960/8612) kbps connect_bh: tx cell per msec 3 connect_bh: upstream rate 864 card #0 ? current modem state: SHOWTIME_LO. Once you see the modem enters showtime, you can safely dial into your ISP server. which is more or less what I get is this Dec 25 18:54:52 localhost kernel: itexadsl: version= 2.2.7.ITEXPC86.0001 , built date= Wed Nov 21 13:13:09 PST 2001 Dec 25 18:54:52 localhost kernel: itexadsl: card# 0, ix=0x0, bus=0x0, fn=0x58, ven=0x1471, dev=0x188 Dec 25 18:54:52 localhost kernel: itexadsl: total 1 card(s) found. Dec 25 18:54:52 localhost kernel: itexadsl: irq=0xa, ioaddr=0x9800, membase=0xe5800000 Dec 25 18:54:52 localhost kernel: itexadsl: card #0 - MAC: 00:01:a0:04:06:1f from eeprom. Dec 25 18:54:52 localhost kernel: itexadsl: ITeX i90188 chip. Dec 25 18:54:52 localhost kernel: init_module: cardcnt = 1 Dec 25 18:54:54 localhost kernel: itexadsl: modem line disconnected. Dec 25 18:54:58 localhost kernel: card #0 - current modem state : ACTIVATING. Dec 25 18:55:32 localhost kernel: card #0 - current modem state : INITIALIZING. Dec 25 18:55:39 localhost kernel: itexadsl: modem line connected. (card_no: 0) Dec 25 18:55:39 localhost kernel: itexadsl: upstream latency - interleaved Dec 25 18:55:39 localhost kernel: itexadsl: downstream latency - interleaved Dec 25 18:55:39 localhost kernel: itexadsl: card #0 - data rate: 800 / 7168 (line rate: 960 / 8164) kbps Dec 25 18:55:39 localhost kernel: connect_bh:tx cell per msec 2 Dec 25 18:55:39 localhost kernel: connect_bh: upstream rate 800 Dec 25 18:55:40 localhost kernel: card #0 - current modem state : SHOWTIME_L0. which as far as this newbie is concerned looks ok. Next it says start the ppp daemon /usr/bin/pppd and then you should see this in the log PPPD[1234]: Plugin /usr/lib/pppd/plugins/pppoatm.so loaded. PPPD[1234]: PPPoATM plugin_init PPPD[1324]: PPPoATM setdevname_pppoatm PPPD[1324]: PPPoATM setdevname_pppoatm - SUCCESS PPPD[1235]: PPPD 2.4.0b1 started by root, uid 0 PPPD[1235]: Using interface ppp0 PPPD[1235]: Connect: ppp0 <-- 0.38 PPPD[1235]: local IP address xxx.xxx.xxx.xxx PPPD[1235]: remote IP address yyy.yyy.yyy.yyy Congratulations! You are online! what i actually get is this Dec 25 18:56:12 localhost pppd[1029]: Plugin /usr/src/linux/ppp-2.4.0b2/pppd/plugins/pppoatm.so loaded. Dec 25 18:56:12 localhost pppd[1029]: PPPoATM plugin_init Dec 25 18:56:12 localhost pppd[1029]: PPPoATM setdevname_pppoatm Dec 25 18:56:12 localhost pppd[1029]: PPPoATM setdevname_pppoatm - SUCCESS Dec 25 18:56:12 localhost pppd[1030]: pppd 2.4.0b1 started by root, uid 0 Dec 25 18:56:12 localhost kernel: itex_open: opening vpi.vci 0.100 on 0 NIC card Dec 25 18:56:12 localhost kernel: itex_open: target cell rate (UBR) = 0 0 0 on 0 NIC card. Dec 25 18:56:12 localhost pppd[1030]: Using interface ppp0 Dec 25 18:56:12 localhost pppd[1030]: Connect: ppp0 <--> 0.100 Dec 25 18:56:13 localhost kernel: PPP BSD Compression module registered Dec 25 18:56:13 localhost pppd[1030]: local IP address 210.86.51.76 Dec 25 18:56:13 localhost pppd[1030]: remote IP address 210.86.51.254 Again as far as I can tell this looks ok and I am in fact online. The problem is that when i open netscape,konqueror etc they act as though they are not connected. With netscape i type in an url and i get an error box saying no server or server unknown ( i forget the actual message but its along those lines) Ive tried ping xtra.co.nz and get the message 'host unknown' (or something like it. I'm not sure what to do next. Are there some files that I have to change?? I've already changed the /etc/ppp/options, /etc/ppp/chap and /etc/ppp/pap to what the document told me to. Any help would be most appreciated. Again sorry for the lengthy post. Steve |
Guest (0) | ||
| 28960 | 2001-12-28 23:48:00 | Try pinging an IP address, eg 202.27.184.102 (www.xtra.co.nz) and post what you get. |
Guest (0) | ||
| 28961 | 2001-12-29 02:11:00 | You problem is that hostname: 'localhost'. That has an ip address -- 127.0.0.1 . That's why things aren't working. You have to have a *network* ip address. I presume that you have a 'permanent' ip address. You have to get that entered, so that the 2nd to last line of the log file appears like this: PPPD[1035] local ip address xxx.xxx.xxx.xxx remote ip address yyy.yy.y.yyy instead of: localhost pppd[3032] remote ip address (etc). I'm not sure what you change (it's a long time since I set up my home network, and I just change the /etc/hosts file and make another entry to my DNS tables when I add a host). There will be a 'onfigure network' type of utility in your KDE or Gnome conmtrol panel. |
Guest (0) | ||
| 28962 | 2001-12-29 10:43:00 | [root@localhost /root]# cd /usr/src/linux/ppp-2.4.0b2 [root@localhost ppp-2.4.0b2]# insmod -f itex1577-2.4.2.o [root@localhost ppp-2.4.0b2]# /usr/sbin/pppd [root@localhost ppp-2.4.0b2]# ping 202.27.184.102 connect: Network is unreachable [root@localhost ppp-2.4.0b2]# ??????? steve |
Guest (0) | ||
| 28963 | 2001-12-29 11:07:00 | Hi Graham the only file that I can find that has 'localhost' and '27.0.0.1' mentioned init was in /etc/hosts 127.0.0.1 localhost.localdomain localhost 202.27.184.3 (i added this) 202.27.184.5 (and this) I tried removing the first line but to no effect. The only other file which I think youre talking about is the /etv/resolv.conf and that reads search xtra.co.nz nameserver 202.27.184.5 nameserver 202.27.184.3 # ppp temp entry I put these entries in there. After doing this to /etc/resolv.conf (adding those entries) and /etc/hosts (removing the 27.0.0....line) I retried running the driver module and then running pppd and checked the /var/log/messages file. This time there was no mention that i could see of 'localhost' or '27.0.0.1' which at first I thought was good but when Itried to ping 202.27.184.102 as suggested earlier in the thread all i got was Connect:Network is unreachable When i tried running netscape and put in an url all i got was Netscape is unable to locate the server ( no name specified ) Please check the server name and try again. Iam not sure about the permanant IP address. I have a Jetstart account through xtra. The /etc/ppp/options says this lock noauth asyncmap 0 name xxx.xadsl@xtra.co.nz (i put the xxx there) user xxx.xadsl@xtra.co.nz plugin /usr/src/linux/ppp-2.4.0b2/pppd/plugins/pppoatm.so 0.100 I tried running some of the config programs but they kept asking what modem i was using and only seemed to give the standard com1 etc modems which i'm not using Bit stuck now and dont know what to try next. Any ideas??Thanks for your time in helping. steve |
Guest (0) | ||
| 28964 | 2001-12-29 11:08:00 | Hi BM (ive also sent graham a copy of this) the only file that I can find that has 'localhost' and '27.0.0.1' mentioned init was in /etc/hosts 127.0.0.1 localhost.localdomain localhost 202.27.184.3 (i added this) 202.27.184.5 (and this) I tried removing the first line but to no effect. The only other file which I think youre talking about is the /etv/resolv.conf and that reads search xtra.co.nz nameserver 202.27.184.5 nameserver 202.27.184.3 # ppp temp entry I put these entries in there. After doing this to /etc/resolv.conf (adding those entries) and /etc/hosts (removing the 27.0.0....line) I retried running the driver module and then running pppd and checked the /var/log/messages file. This time there was no mention that i could see of 'localhost' or '27.0.0.1' which at first I thought was good but when Itried to ping 202.27.184.102 as suggested earlier in the thread all i got was Connect:Network is unreachable When i tried running netscape and put in an url all i got was Netscape is unable to locate the server ( no name specified ) Please check the server name and try again. Iam not sure about the permanant IP address. I have a Jetstart account through xtra. The /etc/ppp/options says this lock noauth asyncmap 0 name xxx.xadsl@xtra.co.nz (i put the xxx there) user xxx.xadsl@xtra.co.nz plugin /usr/src/linux/ppp-2.4.0b2/pppd/plugins/pppoatm.so 0.100 I tried running some of the config programs but they kept asking what modem i was using and only seemed to give the standard com1 etc modems which i'm not using Bit stuck now and dont know what to try next. Any ideas??Thanks for your time in helping. steve |
Guest (0) | ||
| 1 | |||||