pppoa setup
Hi
First sorry for this but its a bit lengthy as I want to give as much info as poss,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 they supplied 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. If I try pinging the remote address I get a response. If I try to ping my ISP I get a message saying " [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.3 Connect: Network is unreachable [root@localhost ppp-2.4.0b2]# Also 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 specified" My ISP is www.xtra.co.nz the DNS IP addresses are 202.27.184.3 202.27.184.5 I do not have a permanant IP address I've already changed the /etc/ppp/options, /etc/ppp/chap and /etc/ppp/pap to what the document told me to. But here they are /etc/ppp/options ************* lock noauth asyncmap 0 name myname.xadsl@xtra.co.nz user myname.xadsl@xtra.co.nz plugin /usr/src/linux/ppp-2.4.0b2/pppd/plugins/pppoatm.so 0.100 /etc/ppp/pap-secrets **************** # Secrets for authentication using PAP # client server secret IP addresses myname.xadsl@xtra.co.nz * mypassword /etc/ppp/chap-secrets ***************** # Secrets for authentication using CHAP # client server secret IP addresses myname@xtra.co.nz * mypassword /etc/resolv.conf ************ domain xtra.co.nz nameserver 202.27.184.3 nameserver 202.27.184.5 /etc/hosts ******** 27.0.0.1 localhost.domain localhost 202.27.184.3 202.27.184.5 /etc/host.conf ************ order hosts,bind multi on I dont have any ethernet cards or other any thing else connected to my pc. All I want todo is to connect to the internet. Any help would be most appreciated. Again sorry for the lengthy post. Steve |
Hi
I,m just guessing here but try changing the bottom lime of your /etc/ppp/options file to 0.38 if your in the uk. Each country uses code which tells the modem something about the connection parameters, if your not in the uk then find out your set of numbers, the first one is usually a zero. Hope that helps RecoilUK |
Hi Recoil
Thanks for your response but I live in New zealand and the 0.100 in /etc/ppp/options is correct. steve |
What distro are u using?
RecoilUK |
Hi
Mandrake 8.1. The kernel is 2.4.2. I had to use this one as for reasons best known to themselves thats the version they designed their driver for. I tried using the version that came with mandrake 8.1 but the driver refused to load saying that it was designed for the 2.4.2 kernel. As far as I can tell it has been patched etc correctly. steve |
All times are GMT -5. The time now is 05:19 PM. |