Re: Tp-link Tl-wr703n

@johan666

Hi Johann , call you tell me which is the right package from janisalnis compiled packages for me?

May I install it with the original webinterface ?

Re: Tp-link Tl-wr703n

vikl45 wrote:

@johan666

Hi Johann , call you tell me which is the right package from janisalnis compiled packages for me?

May I install it with the original webinterface ?

What do you mean ?

Are u using 3020 ?
He just compiled image for 703n.
For the packages, it is for the whole ar71xx series.
what do you mean original webui ?

Re: Tp-link Tl-wr703n

I'm using a 3020 which is new with the original firmware from tp-link.
I broke the case and installed a serial connection with works.

Re: Tp-link Tl-wr703n

vikl45 wrote:

I'm using a 3020 which is new with the original firmware from tp-link.
I broke the case and installed a serial connection with works.

why you need serial ?
just flash it in (stock) webui, no need to break anything.

Re: Tp-link Tl-wr703n

I've been trying for days to go with my E220 online. It does not work.
I can not address the device. I can not install kmod-usb-serial-option.
Version: Attitude Adjustment OpenWrt r31387
Any idea?

opkg list-installed:

base-files - 106-r31387
base-files-network - 4
busybox - 1.19.4-1
chat - 2.4.5-4
comgt - 0.32-9
crda - 1.1.2-1
dnsmasq - 2.59-3
dropbear - 2011.54-2
firewall - 2-49
hotplug2 - 1.0-beta-4
huaweiaktbbo - 1
iptables - 1.4.10-4
iw - 3.3-1
kernel - 3.3.2-1-38dc083ed9820ab5fa8c9ee270356116
kmod-ath - 3.3.2+2012-04-17-1
kmod-ath9k - 3.3.2+2012-04-17-1
kmod-ath9k-common - 3.3.2+2012-04-17-1
kmod-cfg80211 - 3.3.2+2012-04-17-1
kmod-crypto-aes - 3.3.2-1
kmod-crypto-arc4 - 3.3.2-1
kmod-crypto-core - 3.3.2-1
kmod-gpio-button-hotplug - 3.3.2-1
kmod-ipt-conntrack - 3.3.2-1
kmod-ipt-core - 3.3.2-1
kmod-ipt-nat - 3.3.2-1
kmod-ipt-nathelper - 3.3.2-1
kmod-leds-gpio - 3.3.2-1
kmod-ledtrig-default-on - 3.3.2-1
kmod-ledtrig-netdev - 3.3.2-1
kmod-ledtrig-timer - 3.3.2-1
kmod-ledtrig-usbdev - 3.3.2-1
kmod-lib-crc-ccitt - 3.3.2-1
kmod-mac80211 - 3.3.2+2012-04-17-1
kmod-nls-base - 3.3.2-1
kmod-ppp - 3.3.2-1
kmod-pppoe - 3.3.2-1
kmod-usb-core - 3.3.2-1
kmod-usb-ohci - 3.3.2-1
kmod-usb2 - 3.3.2-1
kmod-wdt-ath79 - 3.3.2-1
libc - 0.9.33-106
libgcc - 4.6-linaro-106
libip4tc - 1.4.10-4
libiwinfo - 33
libiwinfo-lua - 33
liblua - 5.1.4-8
libnl-tiny - 0.1-3
libpthread - 0.9.33-106
librt - 0.9.33-106
libuci - 2012-03-28.1-1
libuci-lua - 2012-03-28.1-1
libusb - 0.1.12-2
libusb-1.0 - 1.0.8-1
libxtables - 1.4.10-4
lua - 5.1.4-8
luci - trunk+svn8643-1
luci-app-firewall - trunk+svn8643-1
luci-i18n-english - trunk+svn8643-1
luci-lib-core - trunk+svn8643-1
luci-lib-ipkg - trunk+svn8643-1
luci-lib-lmo - trunk+svn8643-1
luci-lib-nixio - trunk+svn8643-1
luci-lib-sys - trunk+svn8643-1
luci-lib-web - trunk+svn8643-1
luci-mod-admin-core - trunk+svn8643-1
luci-mod-admin-full - trunk+svn8643-1
luci-proto-3g - trunk+svn8643-1
luci-proto-core - trunk+svn8643-1
luci-proto-ppp - trunk+svn8643-1
luci-sgi-cgi - trunk+svn8643-1
luci-theme-base - trunk+svn8643-1
luci-theme-openwrt - trunk+svn8643-1
mtd - 17
opkg - 618-2
ppp - 2.4.5-4
ppp-mod-pppoe - 2.4.5-4
swconfig - 10
uboot-envtools - 2011.06-4
uci - 2012-03-28.1-1
uhttpd - 31
usb-modeswitch - 1.2.3-1
usb-modeswitch-data - 20120120-1
usbutils - 004-1
wireless-tools - 29-4
wpad-mini - 20120326-1
zlib - 1.2.5-1

logread:

Apr 24 19:21:05 OpenWrt user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_3.3.2_ehci_hcd Product=Atheros_built-in_EHCI_controller Serial=ar933x-ehci
Apr 24 19:21:05 OpenWrt user.notice usb-modeswitch: 1-1:1.0: Manufacturer=HUAWEI_Technologies Product=HUAWEI_Mobile Serial=?
Apr 24 19:21:05 OpenWrt user.info sysinit: Loading synflood protection
Apr 24 19:21:05 OpenWrt user.notice usb-modeswitch: 1-1:1.0: Selecting /etc/usb_modeswitch.d/12d1:1003 for mode switching
Apr 24 19:21:05 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Apr 24 19:21:05 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Apr 24 19:21:05 OpenWrt user.info sysinit: Adding custom chains
Apr 24 19:21:05 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Apr 24 19:21:05 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Apr 24 19:21:05 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Apr 24 19:21:05 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Apr 24 19:21:06 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Apr 24 19:21:06 OpenWrt user.notice usb-modeswitch: 1-1:1.1: Manufacturer=HUAWEI_Technologies Product=HUAWEI_Mobile Serial=?
Apr 24 19:21:06 OpenWrt user.notice usb-modeswitch: 1-1:1.1: Selecting /etc/usb_modeswitch.d/12d1:1003 for mode switching
Apr 24 19:21:06 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Apr 24 19:21:06 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Apr 24 19:21:06 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Apr 24 19:21:06 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Apr 24 19:21:06 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Apr 24 19:21:06 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Apr 24 19:21:06 OpenWrt user.info sysinit: Loading zones
Apr 24 19:21:06 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Apr 24 19:21:06 OpenWrt user.notice usb-modeswitch: 1-1:1.2: Manufacturer=HUAWEI_Technologies Product=HUAWEI_Mobile Serial=?
Apr 24 19:21:06 OpenWrt user.notice usb-modeswitch: 1-1:1.2: Selecting /etc/usb_modeswitch.d/12d1:1003 for mode switching
Apr 24 19:21:06 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Apr 24 19:21:06 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Apr 24 19:21:07 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Apr 24 19:21:07 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Apr 24 19:21:07 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Apr 24 19:21:07 OpenWrt user.notice usb-modeswitch: switching seemingly failed
Apr 24 19:21:07 OpenWrt user.notice usb-modeswitch: switching seemingly failed

/proc/bus/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 3.03
S:  Manufacturer=Linux 3.3.2 ehci_hcd
S:  Product=Atheros built-in EHCI controller
S:  SerialNumber=ar933x-ehci
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12   MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=12d1 ProdID=1003 Rev= 0.00
S:  Manufacturer=HUAWEI Technologies
S:  Product=HUAWEI Mobile
C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=128ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=85(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E:  Ad=83(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

dmesg:

[    0.000000] Linux version 3.3.2 (openwrt@OpenWRTBuild) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Apr 21 06:53:43 MST 2012
[    0.000000] MyLoader: sysp=00d73bc7, boardp=ed0c292e, parts=97cba183
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9330 rev 1
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 8031a530, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8128 pages, LIFO batch:0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=TL-WR703N console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 28972k/32768k available (2216k kernel code, 3796k reserved, 578k data, 204k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:48
[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.090000] gpiochip_add: registered GPIOs 0 to 29 on device: ath79
[    0.100000] MIPS: machine is TP-LINK TL-WR703N v1
[    0.340000] bio: create slab <bio-0> at 0
[    0.350000] Switching to clocksource MIPS
[    0.350000] NET: Registered protocol family 2
[    0.350000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.360000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.360000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.370000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.380000] TCP reno registered
[    0.380000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.390000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.390000] NET: Registered protocol family 1
[    0.400000] PCI: CLS 0 bytes, default 32
[    0.410000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.420000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.430000] msgmni has been set to 56
[    0.430000] io scheduler noop registered
[    0.440000] io scheduler deadline registered (default)
[    0.440000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.450000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[    0.460000] console [ttyATH0] enabled, bootconsole disabled
[    0.470000] m25p80 spi0.0: found w25q32, expected m25p80
[    0.480000] m25p80 spi0.0: w25q32 (4096 Kbytes)
[    0.480000] 5 tp-link partitions found on MTD device spi0.0
[    0.490000] Creating 5 MTD partitions on "spi0.0":
[    0.490000] 0x000000000000-0x000000020000 : "u-boot"
[    0.500000] 0x000000020000-0x00000011c908 : "kernel"
[    0.500000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.510000] 0x00000011c908-0x0000003f0000 : "rootfs"
[    0.520000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.530000] mtd: partition "rootfs" set to be root filesystem
[    0.540000] mtd: partition "rootfs_data" created automatically, ofs=280000, len=170000 
[    0.540000] 0x000000280000-0x0000003f0000 : "rootfs_data"
[    0.550000] 0x0000003f0000-0x000000400000 : "art"
[    0.560000] 0x000000020000-0x0000003f0000 : "firmware"
[    0.810000] ag71xx_mdio: probed
[    0.810000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    1.420000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[    1.420000] TCP westwood registered
[    1.430000] NET: Registered protocol family 17
[    1.430000] Bridge firewalling registered
[    1.430000] 8021q: 802.1Q VLAN Support v1.8
[    1.440000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    1.450000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.460000] Freeing unused kernel memory: 204k freed
[    3.510000] Registered led device: tp-link:blue:system
[    6.800000] eth0: link up (100Mbps/Full duplex)
[    6.850000] JFFS2 notice: (441) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 7 of xref (0 dead, 0 orphan) found.
[    6.970000] eth0: link down
[    8.180000] Compat-wireless backport release: compat-wireless-2012-04-17-1-r31387
[    8.190000] Backport based on wireless-testing.git master-2012-04-17
[    8.370000] cfg80211: Calling CRDA to update world regulatory domain
[    8.500000] cfg80211: World regulatory domain updated:
[    8.500000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    8.510000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.520000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    8.530000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    8.530000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.540000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.690000] usbcore: registered new interface driver usbfs
[    8.690000] usbcore: registered new interface driver hub
[    8.700000] usbcore: registered new device driver usb
[    9.260000] ath: EEPROM regdomain: 0x0
[    9.260000] ath: EEPROM indicates default country code should be used
[    9.260000] ath: doing EEPROM country->regdmn map search
[    9.260000] ath: country maps to regdmn code: 0x3a
[    9.260000] ath: Country alpha2 being used: US
[    9.260000] ath: Regpair used: 0x3a
[    9.270000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[    9.270000] Registered led device: ath9k-phy0
[    9.270000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[    9.280000] cfg80211: Calling CRDA for country: US
[    9.450000] PPP generic driver version 2.4.2
[    9.460000] cfg80211: Regulatory domain changed to country: US
[    9.460000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    9.470000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[    9.480000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[    9.480000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.490000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.500000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.510000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[    9.560000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    9.680000] NET: Registered protocol family 24
[    9.820000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    9.820000] ath79-ehci ar933x-ehci: Atheros built-in EHCI controller
[    9.830000] ath79-ehci ar933x-ehci: new USB bus registered, assigned bus number 1
[    9.870000] ath79-ehci ar933x-ehci: irq 3, io mem 0x1b000000
[    9.890000] ath79-ehci ar933x-ehci: USB 2.0 started, EHCI 1.00
[    9.890000] hub 1-0:1.0: USB hub found
[    9.890000] hub 1-0:1.0: 1 port detected
[    9.920000] nf_conntrack version 0.5.0 (455 buckets, 1820 max)
[   10.260000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   10.360000] usb 1-1: new full-speed USB device number 2 using ath79-ehci
[   19.950000] device eth0 entered promiscuous mode
[   20.050000] eth0: link up (100Mbps/Full duplex)
[   20.050000] br-lan: port 1(eth0) entered forwarding state
[   20.050000] br-lan: port 1(eth0) entered forwarding state

Re: Tp-link Tl-wr703n

@Johan666

I made the serial connection for test purpose only as I wanted to see what the boot process is doing.

Do you think that openwrt-ar71xx-generic-ja76pf-rootfs-squashfs.bin is the right file?

I thought it should be about 3MB, but this one is only 1,5 MB

682

Re: Tp-link Tl-wr703n

No it is not the right file.

Re: Tp-link Tl-wr703n

with serial, will one be able to flash the mr3020 stock image to the wr703n since it's the same hardware?

Re: Tp-link Tl-wr703n

new r31467 is out, kernel version 3.3.3, most images are included.
Just that those kmod-usb-storage etc. are still missing.....

Re: Tp-link Tl-wr703n

E220 is working fine with the original TP-Link Firmware. I have no more ideas.

AnTaRi

Re: Tp-link Tl-wr703n

johan666 wrote:

new r31467 is out, kernel version 3.3.3, most images are included.
Just that those kmod-usb-storage etc. are still missing.....

I can`t find this packages in it:
kmod-usb-serial,
kmod-usb-serial-option,
kmod-usb-serial-wwan.
Where did they gone?
I can`t install 3G dongle support on WR703N without it...

Re: Tp-link Tl-wr703n

Hi AlexSpb,


i have the same problem. Can't use my E220 3G USB Adapter.

Re: Tp-link Tl-wr703n

How can I change rc.local permanent?

Hi,
I installed gpsd with opkg update install gpsd on my device
It  runs fine if it is started from the console.
I have tried to run it from the rc.local script but the scipt in /etc/local is always overwritten at new boot.
I have tried to override /rom/etc/rc.local with vi , but I got a message that rc.local is readonly

Any suggestions?

Re: Tp-link Tl-wr703n

vikl45 wrote:

How can I change rc.local permanent?

Hi,
I installed gpsd with opkg update install gpsd on my device
It  runs fine if it is started from the console.
I have tried to run it from the rc.local script but the scipt in /etc/local is always overwritten at new boot.
I have tried to override /rom/etc/rc.local with vi , but I got a message that rc.local is readonly

Any suggestions?

What are you gonna do ?

/rom/etc/..... it is ROM, of coz it is readonly !
/etc/local...... no such directory
it should be /etc/rc.local

Re: Tp-link Tl-wr703n

@ johan666

of course it is /etc/rc.local , I should read my posting twice.

the problem is solved, /etc/rc.local is writable and the changes are preseverd after reboot.
I can't remember the etc directory to which I made the first changes that were lost after reboot.

I run the daemon with gpsd -G /dev/ttyUSB0 and it runs fine and data can be read from another box.
But I think I have to do some checking before I start.

Are there any examples how to start a daemon?
I checked the /etc/rc.d/S98sysntpd file but a similar script does not work.

I'm really exicited how easy it was to build everything from scratch, flash new firmware and install the gpsd.

thanks for your help

691 (edited by AlexSpb 2012-04-27 12:22:55)

Re: Tp-link Tl-wr703n

antari wrote:

Hi AlexSpb,


i have the same problem. Can't use my E220 3G USB Adapter.

I compile my own firmware for this router with USB modems support (kmod-usb-serial modules integrated). After flsashing need to install this packages - http://wiki.openwrt.org/doc/recipes/3gdongle. Command like this:

opkg update
opkg install comgt kmod-usb2 kmod-usb-ohci usb-modeswitch usb-modeswitch-data sdparm luci-proto-3g

Some pakcages already installed in a firmware - you see this in a console.
Here is a links:

http://lecam.ru/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-sysupgrade.bin

and

http://lecam.ru/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin

Tested with Huawei E352, E367, E1550, E220, E160.
Regards, Alexander Kobzev

692 (edited by johan666 2012-04-29 13:02:33)

Re: Tp-link Tl-wr703n

I have finished setup my own buildroot,
and finished compile the latest build - r31506
With build-in webui, it have 300KB more free space for other packages.

I run 64bit ubuntu under VM8, base system is 32bit XP
skip compile all .bz2 jiffs files to save time and space.
Even I put 3 cores to the VM, it takes around an hour to build bin and all packages.

While openwrt server building r31506.
I've finished building r31513 and r31515.
The source code seems also system generate,
It is fun to DIY.

Re: Tp-link Tl-wr703n

Hi...
Someone knows what is the easiest way to flash router from dd-wrt to openwrt from web UI it can't be done.
And I connected serial to router but I see lot of garbage I use prolific maybe it need a resistor between TX and ground ? 

Thanks

Re: Tp-link Tl-wr703n

-=xWx=- wrote:

Hi...
Someone knows what is the easiest way to flash router from dd-wrt to openwrt from web UI it can't be done.
And I connected serial to router but I see lot of garbage I use prolific maybe it need a resistor between TX and ground ? 

Thanks

Easiest way !?
Edit openwrt...bin header so that ddwrt webui can recognize.  (header, not filename)
Or telnet to it, use mtd.
No serial interface is needed.

Re: Tp-link Tl-wr703n

-=xWx=- wrote:

Hi...
Someone knows what is the easiest way to flash router from dd-wrt to openwrt from web UI it can't be done.
And I connected serial to router but I see lot of garbage I use prolific maybe it need a resistor between TX and ground ? 

Thanks

Use the DD-WRT web revert firmware to get back to the Chinese original firmware and then flash OpenWRT from the GUI

Re: Tp-link Tl-wr703n

johan666 wrote:

I have finished setup my own buildroot,
and finished compile the latest build - r31506
With build-in webui, it have 300KB more free space for other packages.

I run 64bit ubuntu under VM8, base system is 32bit XP
skip compile all .bz2 jiffs files to save time and space.
Even I put 3 cores to the VM, it takes around an hour to build bin and all packages.

While openwrt server building r31506.
I've finished building r31513 and r31515.
The source code seems also system generate,
It is fun to DIY.

Looks you are having fun.  It is really pretty simple.
I agree with all your said.  The compiled version using squashfs is compressed and uses less flash memory than jffs.  (I am not sure but guess the ram usage will be the same.)  The first time compilation needs more time than second time around from my experience.  If you only add some packages or make some minor changes, it usually only take 10-20 minutes even with single core.

Re: Tp-link Tl-wr703n

johan666 wrote:
-=xWx=- wrote:

Hi...
Someone knows what is the easiest way to flash router from dd-wrt to openwrt from web UI it can't be done.
And I connected serial to router but I see lot of garbage I use prolific maybe it need a resistor between TX and ground ? 

Thanks

Easiest way !?
Edit openwrt...bin header so that ddwrt webui can recognize.  (header, not filename)
Or telnet to it, use mtd.
No serial interface is needed.

Thanks I used mtd. what about serial interface maybe someone knows why it doesn't output clean data maybe I need to solder this resistor ... and in OpenWRT internal router serial is ttyS0 how can I disable output on it and use it for my purposes...
Thanks.

Re: Tp-link Tl-wr703n

-=xWx=- wrote:

......
Thanks I used mtd. what about serial interface maybe someone knows why it doesn't output clean data maybe I need to solder this resistor ... and in OpenWRT internal router serial is ttyS0 how can I disable output on it and use it for my purposes...
Thanks.

Have you tested this serial cable previously and did it work properly?  I have had a couple bad cables before.
I have a few 703n's and none of them need any resister pull up.

Re: Tp-link Tl-wr703n

twinclouds wrote:

Looks you are having fun.  It is really pretty simple.
I agree with all your said.  The compiled version using squashfs is compressed and uses less flash memory than jffs.  (I am not sure but guess the ram usage will be the same.)  The first time compilation needs more time than second time around from my experience.  If you only add some packages or make some minor changes, it usually only take 10-20 minutes even with single core.

Compare with compile linux kernel, it is too easier.
just that today's workstation linux doesn't need compile anymore, unless you need fine tune or fine customization.

I find that multi-core doesn't really speedup compilation time, even I have also enabled parallelized.
Do I need to use "distclear" after some period of time to start all over again ?
Or it is fine just add the changes ?

I've just saw trunk code r31541 is out, kernel is 3.3.4

Re: Tp-link Tl-wr703n

I tried to change IP address of my 703n. After changing it I made a mistake in syntax, I wrote something like this:

'192.168.1.1

I forgot to close ', and I disconnected it.

Now I can't access anymore.

What can I do?

Thanks!