OpenWrt Forum Archive

Topic: Tp-link Tl-wr703n

The content of this topic has been archived between 18 Mar 2015 and 7 May 2018. Unfortunately there are posts – most likely complete pages – missing.

Isn't this getting over complicated?
I would have one DHCP server, as near to WAN as possible.
If your WAN goes down you will need to be in WiFi distance anyway to access a static WiFi IP.
So unless you have some super yagi antenna, you are within ethernet connect distance anyway.
Am I missing something?

fpopic wrote:

i put like this:

adsl - dhcp disabled
w-router dhcp server (.6-20)
openwrt (static 192.168.1.3) but i enabled DHCP Server (.21-30)

or should i disable that second dhcp server so all devices connected to openwrt (wds AP) would get w-router's dhcp IP between 6-20

everything works when openwrt and wireless are connected with cable but when i try wirelessly it doesn't provide internet on pda which is connected to openwrt ap (wds)

Don't know your actual setting, hard to tell.  Sounds like the STA cant connect to your wireless router.
post your config files or the luci screenshot

(Last edited by johan666 on 8 Oct 2012, 19:39)

oh guys i didn't notice that you answered ( subscriptions are not working while upgrading openwrt site)
i changed a configuration a bit with enabling wifi on adsl router big_smile

1. Wireless ADSL Router  (192.168.1.254)
http://i47.tinypic.com/2mqrya1.png

2. OpenWRT  with STATIC 192.168.1.3
(Client(WDS) + AP(WDS) Bridged with eth0 LAN)
Luci - Network - Interface (LAN with three icons)
Luci - Network - Wifi ( Client (it shows as connected, Master (WDS) it waits for Station to connect (when i try with WIFI adapter it works while everything is connected with adsl with rj45 but without cable i cannot get internet)
(DHCP Server Disabled)
PICTURES SOON big_smile

3.DreamBox
IP : 192.168.1.4
Netmask : 255.255.255.0
Nameserver : 192.168.1.254
Gateway : 192.168.1.254
Port : 80

4. Any PDA with DHCP Client mode (automatic ip)


---------------------------------------------------------------------

5. Airlive Wireless WL-5470AP Router
Static = 192.168.1.2
Mode : WDS (Connected to Wireless network of ADSL wireless and it has 85% signal)
IP : DHCP Relay agent mode
Default Gateway : 192.168.1.254

I will put it to extend signal on second floor cause it has 500mw + half meter omni antenna,
but after i manage to set first 4. devices (5. is optional)

(Last edited by fpopic on 9 Oct 2012, 22:43)

fpopic wrote:

oh guys i didn't notice that you answered ( subscriptions are not working while upgrading openwrt site)
i changed a configuration a bit with enabling wifi on adsl router big_smile

Not sure your problem yet.
What about the firewall settings inside openwrt ?
In this case everything act as local traffic so Input Ouput Forward should set to accept and disable Masquerading.

Your setting is similar to mine.
Can't see problems yet.
Probably the wifi connection is too weak.

What about your PDA devices, they can connect to the wireless router from 1st floor ?
If not, then wifi repeating can't help you.

yeah i tried that too but i think that the problem is with IPs cause routers are 0,5meters far from each other so weak signal is not possible ( i show them on many different devices (PDA;HTC;LAPTOP) but when i try to connect it show LIMITED ACCESS. and just disconnects from network ( the wpa is 100% OK.)

  0.360000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.360000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.360000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.370000] TCP: Hash tables configured (established 2048 bind 2048)
[    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 120
[    0.430000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    0.440000] io scheduler noop registered
[    0.440000] io scheduler deadline registered (default)
[    0.450000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.460000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[    0.470000] console [ttyATH0] enabled, bootconsole disabled
[    0.480000] m25p80 spi0.0: found mx25l6405d, expected m25p80
[    0.480000] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[    0.490000] 5 tp-link partitions found on MTD device spi0.0
[    0.500000] Creating 5 MTD partitions on "spi0.0":
[    0.500000] 0x000000000000-0x000000020000 : "u-boot"
[    0.510000] 0x000000020000-0x00000011cf80 : "kernel"
[    0.510000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.520000] 0x00000011cf80-0x0000007f0000 : "rootfs"
[    0.530000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.540000] mtd: partition "rootfs" set to be root filesystem
[    0.550000] mtd: partition "rootfs_data" created automatically, ofs=290000, len=560000 
[    0.560000] 0x000000290000-0x0000007f0000 : "rootfs_data"
[    0.560000] 0x0000007f0000-0x000000800000 : "art"
[    0.570000] 0x000000020000-0x0000007f0000 : "firmware"
[    0.590000] ag71xx_mdio: probed
[    0.600000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    1.150000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[    1.160000] TCP cubic registered
[    1.160000] NET: Registered protocol family 17
[    1.160000] Bridge firewalling registered
[    1.170000] 8021q: 802.1Q VLAN Support v1.8
[    1.180000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.190000] Freeing unused kernel memory: 208k freed
[    3.220000] Registered led device: tp-link:blue:system
[    6.160000] eth0: link up (100Mbps/Full duplex)
[    6.620000] JFFS2 notice: (435) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 12 of xref (0 dead, 0 orphan) found.
[    7.270000] SCSI subsystem initialized
[    7.450000] usbcore: registered new interface driver usbfs
[    7.450000] usbcore: registered new interface driver hub
[    7.460000] usbcore: registered new device driver usb
[    8.010000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.010000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[    8.020000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    8.060000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    8.080000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    8.080000] hub 1-0:1.0: USB hub found
[    8.080000] hub 1-0:1.0: 1 port detected
[    8.130000] uhci_hcd: USB Universal Host Controller Interface driver
[    8.170000] mmc_block: Unknown symbol mmc_unregister_driver (err 0)
[    8.180000] mmc_block: Unknown symbol mmc_calc_max_discard (err 0)
[    8.180000] mmc_block: Unknown symbol mmc_can_erase (err 0)
[    8.190000] mmc_block: Unknown symbol mmc_erase_group_aligned (err 0)
[    8.190000] mmc_block: Unknown symbol mmc_set_blocklen (err 0)
[    8.200000] mmc_block: Unknown symbol __mmc_claim_host (err 0)
[    8.210000] mmc_block: Unknown symbol mmc_fixup_device (err 0)
[    8.210000] mmc_block: Unknown symbol mmc_set_data_timeout (err 0)
[    8.220000] mmc_block: Unknown symbol mmc_can_secure_erase_trim (err 0)
[    8.230000] mmc_block: Unknown symbol mmc_flush_cache (err 0)
[    8.230000] mmc_block: Unknown symbol mmc_detect_card_removed (err 0)
[    8.240000] mmc_block: Unknown symbol mmc_wait_for_req (err 0)
[    8.240000] mmc_block: Unknown symbol mmc_release_host (err 0)
[    8.250000] mmc_block: Unknown symbol mmc_switch (err 0)
[    8.250000] mmc_block: Unknown symbol mmc_register_driver (err 0)
[    8.260000] mmc_block: Unknown symbol mmc_can_trim (err 0)
[    8.270000] mmc_block: Unknown symbol mmc_app_cmd (err 0)
[    8.270000] mmc_block: Unknown symbol mmc_can_discard (err 0)
[    8.280000] mmc_block: Unknown symbol mmc_start_req (err 0)
[    8.280000] mmc_block: Unknown symbol mmc_erase (err 0)
[    8.290000] mmc_block: Unknown symbol mmc_wait_for_cmd (err 0)
[    8.290000] mmc_block: Unknown symbol mmc_hw_reset (err 0)
[    8.300000] mmc_block: Unknown symbol mmc_can_sanitize (err 0)
[    8.520000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[   28.830000] eth0: link down
[   29.990000] Compat-wireless backport release: compat-wireless-2012-07-13
[   30.000000] Backport based on wireless-testing.git master-2012-07-16
[   30.000000] compat.git: wireless-testing.git
[   30.100000] cfg80211: Calling CRDA to update world regulatory domain
[   30.110000] cfg80211: World regulatory domain updated:
[   30.110000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   30.120000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   30.130000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   30.130000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   30.140000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   30.150000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   30.900000] ath: EEPROM regdomain: 0x0
[   30.900000] ath: EEPROM indicates default country code should be used
[   30.900000] ath: doing EEPROM country->regdmn map search
[   30.900000] ath: country maps to regdmn code: 0x3a
[   30.900000] ath: Country alpha2 being used: US
[   30.900000] ath: Regpair used: 0x3a
[   30.910000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   30.910000] Registered led device: ath9k-phy0
[   30.910000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[   30.920000] cfg80211: Calling CRDA for country: US
[   30.920000] cfg80211: Regulatory domain changed to country: US
[   30.930000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   30.930000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   30.940000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   30.950000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   30.960000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   30.960000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   30.970000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   31.050000] NET: Registered protocol family 8
[   31.050000] NET: Registered protocol family 20
[   31.370000] PPP generic driver version 2.4.2
[   31.610000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   31.750000] NET: Registered protocol family 24
[   31.810000] nf_conntrack version 0.5.0 (963 buckets, 3852 max)
[   32.300000] ath_hal: module license 'Proprietary' taints kernel.
[   32.300000] Disabling lock debugging due to kernel taint
[   32.320000] ath_hal: 2009-05-08 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, REGOPS_FUNC, XR)
[   32.590000] ath_pci: trunk
[   32.600000] wlan: trunk
[   32.600000] wlan: mac acl policy registered
[   32.600000] ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)
[   32.610000] ath_rate_minstrel: look around rate set to 10%
[   32.620000] ath_rate_minstrel: EWMA rolloff level set to 75%
[   32.620000] ath_rate_minstrel: max segment size in the mrr set to 6000 us
[   32.890000] usbcore: registered new interface driver usbserial
[   32.890000] USB Serial support registered for generic
[   32.900000] usbcore: registered new interface driver usbserial_generic
[   32.910000] usbserial: USB Serial Driver core
[   32.970000] Initializing USB Mass Storage driver...
[   32.970000] scsi0 : usb-storage 1-1:1.0
[   32.970000] usbcore: registered new interface driver usb-storage
[   32.980000] USB Mass Storage support registered.
[   33.010000] usbcore: registered new interface driver ums-alauda
[   33.030000] usbcore: registered new interface driver ums-cypress
[   33.050000] usbcore: registered new interface driver ums-datafab
[   33.080000] usbcore: registered new interface driver ums-freecom
[   33.100000] usbcore: registered new interface driver ums-isd200
[   33.120000] usbcore: registered new interface driver ums-jumpshot
[   33.140000] usbcore: registered new interface driver ums-karma
[   33.170000] usbcore: registered new interface driver ums-sddr09
[   33.200000] usbcore: registered new interface driver ums-sddr55
[   33.220000] usbcore: registered new interface driver ums-usbat
[   33.340000] hso: drivers/net/usb/hso.c: Option Wireless
[   33.340000] usbcore: registered new interface driver hso
[   33.970000] scsi 0:0:0:0: Direct-Access     USB 2.0  PenDrive              PQ: 0 ANSI: 0 CCS
[   33.970000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   33.990000] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   36.710000] device eth0 entered promiscuous mode
[   37.380000] eth0: link up (100Mbps/Full duplex)
[   37.380000] br-lan: port 1(eth0) entered listening state
[   37.390000] br-lan: port 1(eth0) entered listening state
[   38.500000] cfg80211: Calling CRDA to update world regulatory domain
[   38.500000] cfg80211: World regulatory domain updated:
[   38.510000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   38.510000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   38.520000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   38.530000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   38.540000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   38.550000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   39.390000] br-lan: port 1(eth0) entered learning state
[   40.800000] device wlan0 entered promiscuous mode
[   41.390000] br-lan: topology change detected, propagating
[   41.390000] br-lan: port 1(eth0) entered forwarding state
[   41.430000] br-lan: port 2(wlan0) entered listening state
[   41.430000] br-lan: port 2(wlan0) entered listening state
[   43.430000] br-lan: port 2(wlan0) entered learning state
[   44.710000] device wlan0-1 entered promiscuous mode
[   44.830000] br-lan: port 2(wlan0) entered disabled state
[   45.270000] wlan0-1: authenticate with 00:1f:9f:9e:02:be
[   45.280000] wlan0-1: send auth to 00:1f:9f:9e:02:be (try 1/3)
[   45.280000] wlan0-1: authenticated
[   45.290000] ath9k ar933x_wmac: wlan0-1: disabling HT due to WEP/TKIP use
[   45.310000] wlan0-1: associate with 00:1f:9f:9e:02:be (try 1/3)
[   45.310000] br-lan: received packet on eth0 with own address as source address
[   45.320000] wlan0-1: RX AssocResp from 00:1f:9f:9e:02:be (capab=0x411 status=0 aid=2)
[   45.330000] wlan0-1: associated
[   45.330000] br-lan: port 3(wlan0-1) entered listening state
[   45.330000] br-lan: port 3(wlan0-1) entered listening state
[   47.330000] br-lan: port 3(wlan0-1) entered learning state
[   49.330000] br-lan: topology change detected, propagating
[   49.330000] br-lan: port 3(wlan0-1) entered forwarding state
[   55.350000] wlan0-1: disassociating from 00:1f:9f:9e:02:be by local choice (reason=3)
[   55.370000] br-lan: port 3(wlan0-1) entered disabled state
[   55.370000] wlan0-1: deauthenticating from 00:1f:9f:9e:02:be by local choice (reason=3)
[   55.450000] wlan0-1: deauthenticating from 00:1f:9f:9e:02:be by local choice (reason=3)
[   56.160000] wlan0-1: authenticate with 00:1f:9f:9e:02:be
[   56.170000] wlan0-1: send auth to 00:1f:9f:9e:02:be (try 1/3)
[   56.180000] wlan0-1: authenticated
[   56.200000] ath9k ar933x_wmac: wlan0-1: disabling HT due to WEP/TKIP use
[   56.220000] wlan0-1: associate with 00:1f:9f:9e:02:be (try 1/3)
[   56.230000] br-lan: received packet on eth0 with own address as source address
[   56.240000] wlan0-1: RX AssocResp from 00:1f:9f:9e:02:be (capab=0x411 status=0 aid=2)
[   56.250000] wlan0-1: associated
[   56.250000] br-lan: port 3(wlan0-1) entered listening state
[   56.260000] br-lan: port 3(wlan0-1) entered listening state
[   58.260000] br-lan: port 3(wlan0-1) entered learning state
[   60.260000] br-lan: topology change detected, propagating
[   60.260000] br-lan: port 3(wlan0-1) entered forwarding state
[   66.300000] wlan0-1: disassociating from 00:1f:9f:9e:02:be by local choice (reason=3)
[   66.310000] br-lan: port 3(wlan0-1) entered disabled state
[   66.310000] wlan0-1: deauthenticating from 00:1f:9f:9e:02:be by local choice (reason=3)
[   66.330000] wlan0-1: deauthenticating from 00:1f:9f:9e:02:be by local choice (reason=3)
[   67.080000] wlan0-1: authenticate with 00:1f:9f:9e:02:be
[   67.090000] wlan0-1: send auth to 00:1f:9f:9e:02:be (try 1/3)
[   67.100000] wlan0-1: authenticated
[   67.100000] ath9k ar933x_wmac: wlan0-1: disabling HT due to WEP/TKIP use
[   67.120000] wlan0-1: associate with 00:1f:9f:9e:02:be (try 1/3)
[   67.120000] br-lan: received packet on eth0 with own address as source address
[   67.130000] wlan0-1: RX AssocResp from 00:1f:9f:9e:02:be (capab=0x411 status=0 aid=2)
[   67.140000] wlan0-1: associated
[   67.140000] br-lan: port 3(wlan0-1) entered listening state
[   67.140000] br-lan: port 3(wlan0-1) entered listening state
[   69.140000] br-lan: port 3(wlan0-1) entered learning state
[   71.140000] br-lan: topology change detected, propagating
[   71.140000] br-lan: port 3(wlan0-1) entered forwarding state
[   77.160000] wlan0-1: disassociating from 00:1f:9f:9e:02:be by local choice (reason=3)
[   77.170000] wlan0-1: deauthenticating from 00:1f:9f:9e:02:be by local choice (reason=3)
[   77.180000] br-lan: port 3(wlan0-1) entered disabled state
[   77.190000] wlan0-1: deauthenticating from 00:1f:9f:9e:02:be by local choice (reason=3)
[   77.940000] wlan0-1: authenticate with 00:1f:9f:9e:02:be
[   77.950000] wlan0-1: send auth to 00:1f:9f:9e:02:be (try 1/3)
[   77.960000] wlan0-1: authenticated
[   77.960000] ath9k ar933x_wmac: wlan0-1: disabling HT due to WEP/TKIP use
[   77.980000] wlan0-1: associate with 00:1f:9f:9e:02:be (try 1/3)
[   77.980000] br-lan: received packet on eth0 with own address as source address
[   77.990000] wlan0-1: RX AssocResp from 00:1f:9f:9e:02:be (capab=0x411 status=0 aid=2)
[   78.000000] wlan0-1: associated
[   78.000000] br-lan: port 3(wlan0-1) entered listening state
[   78.010000] br-lan: port 3(wlan0-1) entered listening state
[   80.010000] br-lan: port 3(wlan0-1) entered learning state
[   82.010000] br-lan: topology change detected, propagating
[   82.010000] br-lan: port 3(wlan0-1) entered forwarding state

And i can't even see OPENWRT network (WDS AP MODE ON OPENWRT) with my laptop which is 2meters from router

(Last edited by fpopic on 12 Feb 2013, 00:46)

So your PDA/laptop in 2nd floor can connect to 1st floor wireless router ?

i can with my old HTC diamond (with bad wireless antenna inside phone) connect to ADSL WIRELESS router without any troubles (signal is 40-60% but internet works i used that for a year) and know i didn't change anything except i want that openwrt router which is on same place where my shitty phone can connect to wireless connects to wireless so my dvb-s box has internet connection.

firstly i wanted to use hi-power airlive wl-5470ap (500mw) to improve signal in my house so i can connect with phone with at least 65-80% but now with those many problems i just want to openwrt gets working

Sounds like connection problem between your two wireless devices.
In 703n, inside your Client(WDS), be sure to fill in the BSSID - which is your wireless router AP MAC address.

If success, you will see something like that.
http://i49.tinypic.com/2ztekp2.jpg

My 703n connect wirelessly to my main wireless router in 150Mbps.
And my wireless devices connect to the repeated APs which are in different name(ssid) and encryption.
All wireless devices and wired device connect to my 703n will get IP from my main wireless router, and get internet access from it.

Hi, I'm new to OpenWRT and networking, but thought a $20 1990s PC in a 6cm box sounded interesting, so I got one & flashed it with OpenWrt (ATTITUDE ADJUSTMENT 12.09-beta, r33312).

When it's connected by ethernet I can ssh in without problems, but I'd prefer to connect via a router.

However, when I connect it to the router's ethernet & do nmap 10.0.0.0/24 it doesn't appear.  I've tried it with three different cables, & two ethernet ports on the router; the relevant LEDs on the router line up. By contrast, I can locate and ssh into a netbook connected to the same route by ethernet only or by wireless. (Once I realised I had to install ssh-server tongue)

(I think two of the cables are straight-through, one might be crossover, it's difficult to see.)

I thought I might be able to setup the WR703N's wifi while it was connected to my laptop by ethernet, but when I do iwlist scan there's no wlan0.

Any idea what I can try now to this connected via the router? Thanks smile

OpenWrt uses 192.168.1.1/24

denovo wrote:

Hi, I'm new to OpenWRT and networking, but thought a $20 1990s PC in a 6cm box sounded interesting, so I got one & flashed it with OpenWrt (ATTITUDE ADJUSTMENT 12.09-beta, r33312).

When it's connected by ethernet I can ssh in without problems, but I'd prefer to connect via a router.

However, when I connect it to the router's ethernet & do nmap 10.0.0.0/24 it doesn't appear.  I've tried it with three different cables, & two ethernet ports on the router; the relevant LEDs on the router line up. By contrast, I can locate and ssh into a netbook connected to the same route by ethernet only or by wireless. (Once I realised I had to install ssh-server tongue)

(I think two of the cables are straight-through, one might be crossover, it's difficult to see.)

I thought I might be able to setup the WR703N's wifi while it was connected to my laptop by ethernet, but when I do iwlist scan there's no wlan0.

Any idea what I can try now to this connected via the router? Thanks smile

By default, the wireless is OFF, please read the wiki.

Thanks Squonk, I hadn't really tried the wifi seriously, but now I can also ssh to the WR703N that way. & thanks jow - though  nmap 192.168.1.1/24 with a wired connection to the router doesn't list the WR703N either.

What I'd like to be able to do (initially) is connect to the WR703N with ssh and use just use that way, but with internet access. But at the moment,
a) when I SSH into it from a laptop (via a wired or wireless connection), the laptop loses internet connectivity &
b) the WR703N doesn't have internet connectivity.

I don't know what this use case is called & perhaps it's not the most natural thing to do with a router... I've dug around a fair bit looking for descriptions of how to do this; perhaps I missed something in all the detail.

denovo wrote:

What I'd like to be able to do (initially) is connect to the WR703N with ssh and use just use that way, but with internet access. But at the moment,
a) when I SSH into it from a laptop (via a wired or wireless connection), the laptop loses internet connectivity &
b) the WR703N doesn't have internet connectivity.

Read openwrt.wiki,
config your 703n, that's it.

@denovo

You probably want to modify /etc/config/network so that the ip address is compatible with your network.  Then modify /etc/config/wireless to get wifi.  As suggested, read the wiki to figure out how to do this.  The available editor is vi.

(Last edited by lizby on 14 Oct 2012, 19:14)

Ok - I've messed it up. I edited (the relevant part of) /etc/config/network to this:

config interface 'lan'
        option ifname 'eth0'
        option type 'bridge'
        option proto 'static'
        option ipaddr '10.1.1.1'   
        option netmask '255.0.0.0'

This didn't get it to connect to the router, but I was still able to ssh with a wired connection. I changed something else (I think '10.1.1.1' to '10.0.0.0') & then couldn't ssh in any more.

I was able to use the (first) recovery procedure here to telnet in*.  But now when I look at /etc/config, the network file isn't there:

root@(none):/etc/config# ls -A
dhcp      dropbear  firewall  luci      system    ucitrack  uhttpd

So I'm a bit stumped. Sorry about this.  [For one thing, I need to read something a bit more basic than the wiki, which clearly assumes fundamental knowledge I currently lack. I've yet to find a brief, coherent beginners' guide to networking on the web. Any pointers would be appreciated.]

*This works, but for some reason the connection breaks every few minutes & I have to repeat sudo ifconfig eth0 192.168.1.2 netmask 255.0.0.0.

denovo wrote:

Ok - I've messed it up. I edited (the relevant part of) /etc/config/network to this:

config interface 'lan'
        option ifname 'eth0'
        option type 'bridge'
        option proto 'static'
        option ipaddr '10.1.1.1'   
        option netmask '255.0.0.0'

This didn't get it to connect to the router, but I was still able to ssh with a wired connection. I changed something else (I think '10.1.1.1' to '10.0.0.0') & then couldn't ssh in any more.

Can't connect which router ?  Another router ?
What do you mean cannot connect ?  Cannot ping ?

First of all "zero" IP will never work !  This is the basic.
At least, it has to be 10.0.0.1

*This works, but for some reason the connection breaks every few minutes & I have to repeat sudo ifconfig eth0 192.168.1.2 netmask 255.0.0.0.

Where did you issue this command ?  In your linux ?

Login in failsafe mode:

$ telnet 192.168.1.1
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
...Snip ATTITUDE ADJUSTMENT (12.09-beta, r33312) splash screen...
root@(none):/# ls
bin      etc      mnt      proc     root     sys      usr      www
dev      lib      overlay  rom      sbin     tmp      var
root@(none):/# cd etc
root@(none):/etc# ls
TZ                     hotplug2-common.rules  preinit
banner                 hotplug2-init.rules    profile
config                 hotplug2.rules         protocols
...snip...
root@(none):/etc# cd config
root@(none):/etc/config# ls
dhcp      dropbear  firewall  luci      system    ucitrack  uhttpd
root@(none):/etc/config# 

There's doesn't appear to be a /etc/config/network file to correct. So I cd'd into /etc/config, did vi network & tried to create one*, modified a bit for my network settings:

config interface 'lan'
   option ifname 'eth0'
   option type 'bridge'
   option ipaddr '10.0.0.111'
   option netmask '255.0.0.0'
   option gateway '10.0.0.138'
   option dns '10.0.0.138'

But vi tells me "network" Read-only file system. :s

*BB won't let me do links; I based the config on this one;
hteeteep [colon//] cmikavac [dot] net/2012/06/03/tp-link-wr703n-openwrt-post-installation-tips/

(Last edited by denovo on 15 Oct 2012, 15:17)

I haven't done this, but I think the wiki article on failsafe suggests that to be able to edit the /etc/config files which will be used upon rebooting, you need to mount the JFFS2 file system with "mount_root".  You can then edit the config files and save them.  Reboot with "reboot -f".  (Never tried by me.)

(Last edited by lizby on 15 Oct 2012, 21:50)

That worked! I now have a tiny linux box hanging off my router with a fixed IP that I can ssh into & it has internet access (I checked with opkg update) tongue
Thanks lizby et al - I'll see if I can get extroot working & install things now smile

Hi Friends,

I'm a new to linux command based system and openwrt.
I want to change chineese web interface to english. I try to open it chrome and auto translate to english. But no worth. Finally I found openwrt I installed it via chineese web interface.
No web interface. According to the openwrt guide I try to install luci but no luck.

I change router IP to 192.168.1.100 and setup gateway and dns.

But "opkg update" not work and giving me below error msg.

root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/snapshots/ … ckages.gz.
wget: server returned error: HTTP/1.1 404 Not Found
Collected errors:
* opkg_download: Failed to download http://downloads.openwrt.org/snapshots/ … ckages.gz, wget returned 1.

I think that downloading link is not available.

To ensure that I ping to to google.com here result
 




root@OpenWrt:~# root@OpenWrt:~# ping goo.gl -w6
-ash: root@OpenWrt:~#: not found
root@OpenWrt:~# PING goo.gl (173.194.38.130): 56 data bytes
-ash: syntax error: unexpected "("
root@OpenWrt:~# 64 bytes from 173.194.38.130: seq=0 ttl=55 time=66.769 ms
-ash: 64: not found
root@OpenWrt:~# 64 bytes from 173.194.38.130: seq=1 ttl=55 time=113.637 ms
-ash: 64: not found
root@OpenWrt:~# 64 bytes from 173.194.38.130: seq=2 ttl=56 time=65.224 ms
-ash: 64: not found
root@OpenWrt:~# 64 bytes from 173.194.38.130: seq=3 ttl=56 time=66.297 ms
-ash: 64: not found
root@OpenWrt:~# 64 bytes from 173.194.38.130: seq=4 ttl=55 time=64.650 ms
-ash: 64: not found
root@OpenWrt:~# 64 bytes from 173.194.38.130: seq=5 ttl=56 time=65.721 ms
-ash: 64: not found
root@OpenWrt:~#
root@OpenWrt:~# --- goo.gl ping statistics ---
-ash: ---: not found
root@OpenWrt:~# 6 packets transmitted, 6 packets received, 0% packet loss
-ash: 6: not found
root@OpenWrt:~# round-trip min/avg/max = 64.650/73.716/113.637 ms
-ash: round-trip: not found

It says "not found" in each line. But basically I assume that it has transmitted 6 packs and no losses.
Therefore I think my WR703 and access internet via my home router.

Please give me a help to update router web interface. Thanks

some said openwrt build system encountered system crash previously so all the old files are gone.
however even the system has back online now,
it still fail to build any trunk images.

That's why if you issue update command, it can't download anything.
Bcoz the server really don't have any files on it.

Hi
Please advice me to how do I update my router.
Can any one provide download image? Is it possible to update by using mirror link?
If yes please give me guide. or link for the guide.

thanks