OpenWrt Forum Archive

Topic: WRT54g3g & t-mobile (ausrtia)

The content of this topic has been archived on 13 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

hi folks!

i´m looking for the right setup for my wrt54g3g (kamikaze 7.09 + kernel 2.4) with a novatel XU870 card and t-mobile.

i followed the instructions by http://josefsson.org/grisslan/internet.html but with no success.
in “/etc/modules.d/60-usb-serial† i set usbserial vendor=0x1410 product=0x1430 according my card
my /etc/config/network:
config interface      ppp0
   option ifname     "ppp0"
   option proto        3g
   option device      /dev/usb/tts/0     # but i havn´t seen this device in the /dev-directory. only a "/dev/tts/0"
   option apn          gprsinternet
   option pincode    "xxxx"

when i start ppp0 (ifup ppp0) the blue-led starts flashing and the router isn´t reachable anymore... i have to replug the powercord.

is anyone out there who can help me?

Below is a /etc/config/network configuration file for the WRT54G3G which is known to work:

#### VLAN configuration 
config switch eth0
    option vlan0    "1 2 3 4 5*"
    option vlan1    "0 5"


#### Loopback configuration
config interface loopback
    option ifname    "lo"
    option proto    static
    option ipaddr    127.0.0.1
    option netmask    255.0.0.0


#### LAN configuration
config interface lan
    option type     bridge
    option ifname    "eth0.0"
    option proto    static
    option ipaddr    192.168.1.1
    option netmask    255.255.255.0


#### WAN configuration
#config interface    wan
#    option ifname    "eth0.1"
#    option proto    dhcp

#### 3G/UMTS configuration
#config interface ppp0
config interface wan #if i use umts only
        option ifname   'ppp0'
        option proto    '3g'
        option device   '/dev/usb/tts/0'
        option apn      'volume.d2gprs.de'
        option pincode  'xxxx'

Please try.

Also please post output from:
- ipkg list_installed
- lsmod
- cardctl status
- cardctl info
and other related changes you have made.

(Last edited by forum2008 on 13 Feb 2008, 18:19)

i tried your /etc/config/network with no success sad


forum2008 wrote:

Also please post output from:
- ipkg list_installed
- lsmod
- cardctl status
- cardctl info
and other related changes you have made.

root@OpenWrt:~# lsmod
Module                  Size  Used by    Tainted: P
usbserial              23836   0 (unused)
wlcompat               14944   0 (unused)
usb-ohci               19252   0 (unused)
ds                      7420   0 (unused)
yenta_socket           10668   1
pcmcia_core            44064   0 [ds yenta_socket]
ip_conntrack_tftp       1712   0 (unused)
ip_nat_irc              2336   0 (unused)
ip_conntrack_irc        3128   1
ip_nat_ftp              2960   0 (unused)
ip_conntrack_ftp        4272   1
ppp_async               7884   0 (unused)
ppp_generic            22300   0 [ppp_async]
slhc                    6064   0 [ppp_generic]
wl                    630776   0 (unused)
usbcore                71296   1 [usbserial usb-ohci]
switch-robo             4540   0 (unused)
switch-core             4864   0 [switch-robo]
diag                   25520   0 (unused)



root@OpenWrt:~# ipkg list_installed
base-files-brcm-2.4 - 10-9078 -
bridge - 1.0.6-1 -
busybox - 1.4.2-2 -
chat - 2.4.3-8 -
comgt - 0.32-1 -
dnsmasq - 2.39-1 -
dropbear - 0.50-2 -
iptables - 1.3.7-1 -
kernel - 2.4.34-brcm-1 -
kmod-brcm-wl - 2.4.34+4.80.53.0-1 -
kmod-diag - 2+2.4.34-brcm-1 -
kmod-ipt-nathelper - 2.4.34-brcm-1 -
kmod-pcmcia-core - 2.4.34-brcm-1 -
kmod-ppp - 2.4.34-brcm-1 -
kmod-pppoe - 2.4.34-brcm-1 -
kmod-switch - 2.4.34-brcm-1 -
kmod-usb-core - 2.4.34-brcm-1 -
kmod-usb-ohci - 2.4.34-brcm-1 -
kmod-usb-serial - 2.4.34-brcm-1 -
kmod-wlcompat - 2.4.34+brcm-6 -
libgcc - 3.4.6-10 -
mtd - 5 -
nas - 4.80.53.0-1 -
nvram - 1 -
pcmcia-cs - 3.2.8-1 -
ppp - 2.4.3-8 -
ppp-mod-pppoe - 2.4.3-8 -
uclibc - 0.9.28-10 -
wireless-tools - 29-1 -
wlc - 4.80.53.0-1 -
Done.



root@OpenWrt:~# cardctl status
Socket 0:
  3.3V CardBus card
  function 0: [ready]
  function 1: [ready]



root@OpenWrt:~# cardctl info
PRODID_1=""
PRODID_2=""
PRODID_3=""
PRODID_4=""
MANFID=0000,0000
FUNCID=255


root@OpenWrt:~# top
Mem: 10724K used, 3580K free, 0K shrd, 1056K buff, 4136K cached
Load average: 0.00 0.02 0.00
  PID USER     STATUS   RSS  PPID %CPU %MEM COMMAND
  412 root           R        408   370      1.9         2.8    top
  369 root           S        596   340      0.0         4.1    dropbear
  370 root           S        508   369      0.0         3.5    ash
  367 nobody      S        452     1        0.0         3.1    dnsmasq
  340 root           S        416     1        0.0         2.9    dropbear
   66 root            S        412     1       0.0         2.8     logger
   69 root            S        404     1       0.0         2.8     init
    1 root            S        400     0        0.0         2.7     init
   89 root            S        400     1       0.0         2.7     syslogd
  348 root          S        392     1        0.0          2.7     httpd
   93 root           S        376     1         0.0        2.6 klogd
  335 root     S        376     1  0.0  2.6 crond
    8 root     SW         0     1  0.0  0.0 mtdblockd
  165 root     SW         0     1  0.0  0.0 khubd
    2 root     SW         0     1  0.0  0.0 keventd
    3 root     SWN        0     1  0.0  0.0 ksoftirqd_CPU0
    4 root     SW         0     1  0.0  0.0 kswapd
    5 root     SW         0     1  0.0  0.0 bdflush
    6 root     SW         0     1  0.0  0.0 kupdated
   53 root     SWN        0     1  0.0  0.0 jffs2_gcd_mtd4



/etc/modules.d/60-usb-serial looks like this:
usbserial vendor=0x1410 product=0x1430




dmesg shows:
.
.
.
.
PCI: Enabling device 01:01.0 (0000 -> 0002)
Yenta ISA IRQ mask 0x06f8, PCI irq 2
Socket status: 30000027
PCI: Setting latency timer of device 00:04.0 to 64
usb-ohci.c: USB OHCI at membase 0xb8004000, IRQ 2
usb-ohci.c: usb-00:04.0, PCI device 14e4:4716
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
cs: cb_alloc(bus 2): vendor 0x1033, device 0x0035
PCI: Enabling device 02:00.0 (0000 -> 0002)
PCI: Setting latency timer of device 02:00.0 to 64
usb-ohci.c: USB OHCI at membase 0xc0081000, IRQ 2
usb-ohci.c: usb-02:00.0, PCI device 1033:0035
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Enabling device 02:00.1 (0000 -> 0002)
hub.c: new USB device 02:00.0-1, assigned address 2
usbserial.c: Generic converter detected
usbserial.c: Generic converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
usbserial.c: Generic converter detected
usbserial.c: Generic converter now attached to ttyUSB1 (or usb/tts/1 for devfs)
usb-ohci.c: 02:00.0 device removed!
usb.c: USB disconnect on device 02:00.0-0 address 1
usb.c: USB disconnect on device 02:00.0-1 address 2
usbserial.c: Generic converter now disconnected from ttyUSB0
usbserial.c: Generic converter now disconnected from ttyUSB1
usb-ohci.c: TD leak, 1
usb.c: USB bus 2 deregistered
pci_pool_destroy 02:00.0/ohci_td, a07c4000 busy
cs: cb_free(bus 2)




root@OpenWrt:~# less /etc/ppp/options
#debug
noaccomp
nopcomp
nocrtscts
lock
maxfail 0

# noauth
# defaultroute
# usepeerdns
# ipcp-accept-remote
# ipcp-accept-local
# holdoff 3
# noaccomp
# noccp
# nobsdcomp
# nodeflate
# nopcomp
# novjccomp

The only things I can think of are the device option in /etc/config/network or you have to provice a username and password for PPP in /etc/ppp/chap-secrets. I didn't found anything else.

The discussion might have continued from here.