hello list,

i am setting up linux with pc300 cyclades as our new FRAD device
for the frame-relay service of our internet provider.

i am using PC300/RSV (1 and 2-port model) as my comm card and a
tainet xtream base band modem. i tried both cards on 2 different
linux (mandrake 10 and LFS) using the supplied straight-through 
DB25-to-DB25 and M.34 (v35) interface to the modem.

i used both the stock kernel (2.4.26 && 2.6.3-mdk) and official
cyclades drivers (bundled diskette) and their HOWTO, but then i
still not able to connect to the other end of the pvc.

on my LFS, i catch the error "hdlc0: DCD is OFF, going administrative
down" when i activated the hdlc0 interface.
might be a modem to comm port issue?

the tainet xtream base band modem is working OK with the router
being serviced to us by our provider, so i guess it must be a
configuration issue on my linux box.

any other ideas?

thank you.

below is how i configured (manually) the interface. 202.202.202.x
is not my real address though.

----

/setting up the card/
linux> modprobe pc300
linux> sethdlc hdlc0 v35 clock ext
linux> sethdlc hdlc0 fr lmi ansi
linux> ip addr add 0.0.0.0 dev hdlc0
linux> sethdlc hdlc0 create 301
linux> ip link set dev hdlc0 up
linux> ip addr add 202.202.202.118 peer 202.202.202.117 dev pvc0
linux> ip link set dev pvc0 up

/check physical interface/
linux> sethdlc hdlc0
hdlc0: clock ext
        protocol fr lmi ansi t391 10 t392 15 n391 6 n392 3 n393 4

/check logical pvc/
linux> sethdlc pvc0
pvc0: unknown interface 0x1
        Frame-Relay PVC: DLCI 301, master device hdlc0

/show interfaces addresses and their status/
linux> ip addr show
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:a0:cc:d2:ec:31 brd ff:ff:ff:ff:ff:ff
    inet 192.168.201.50/24 brd 192.168.201.255 scope global eth0
3: hdlc0: <POINTOPOINT,NOARP,UP> mtu 1500 qdisc pfifo_fast qlen 100
    link/frad 
4: hdlc1: <POINTOPOINT,NOARP> mtu 1500 qdisc noop qlen 100
    link/rawhdlc 
5: pvc0: <POINTOPOINT,UP> mtu 1500 qdisc noqueue 
    link/dlci 01:2d peer 48:d1
    inet 202.202.202.118 peer 202.202.202.117/30 scope global pvc0

/show kernel route table/
linux> ip route show 
202.202.202.117 dev pvc0  proto kernel  scope link  src 202.202.202.118 
192.168.201.0/24 dev eth0  proto kernel  scope link  src 192.168.201.50 
default via 202.202.202.117 dev pvc0 

/check link status (curious on DCD/DSR/CTS signal status though)/
linux> pc300util -S 
PC300 - pc300util for kernel 2.4.x
 
Hardware Type: RSV
 
General:     DCD : OFF
             DSR : N/A
             CTS : OFF
             RTS : ON
             DTR : ON

linux> _



-- 

Edelbert S. Mania
CISP/NOC

--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to