OpenWrt Forum Archive

Topic: Linksys WRT610N

The content of this topic has been archived between 6 Feb 2018 and 1 May 2018. Unfortunately there are posts – most likely complete pages – missing.

5arge wrote:

Seeing as Linux has yet to publish the GPL code for this Firmware, and I don't know how to check it through a console command (uname isn't recognized), I can't say which kernel it is, but I'd like to know.

Try dmesg..

sample from beginning of dmesg for wrt54g (with 2.4-brcm):

root@officegw:~# dmesg
CPU revision is: 00029008
Primary instruction cache 16kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 8kB, 2-way, linesize 16 bytes.
Linux version 2.4.35.4 (nbd@baustelle) (gcc version 3.4.6 (OpenWrt-2.0)) #27 Wed Jan 21 02:43:07 CET 2009
Setting the PFC to its default value
Determined physical RAM map:
 memory: 01000000 @ 00000000 (usable)
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/preinit noinitrd console=ttyS0,115200
CPU: BCM5352 rev 0 at 200 MHz
Using 100.000 MHz high precision timer.
Calibrating delay loop... 199.47 BogoMIPS
Memory: 14260k/16384k available (1425k kernel code, 2124k reserved, 100k data, 84k init, 0k highmem)

@jake1981

No go on dmesg:
dmesg: not found

Although, I did a little digging and...

cat /proc/version
Linux version 2.4.20 (ljh@team2-complier) (gcc version 3.2.3 with Broadcom modifications) #115 Wed Jan 21 16:36:23 CST 2009

2.4 it is.

On a side note, anyone know of a "better" com/terminal program for Linux?  I've got minicom and cutecom.  I haven't been able to figure out how to send commands via minicom, and with cutecom, i can only send entire commands, rather than input them directly at a command line.....kinda sucks (for me that is).  Anything for Linux that is closer to the good ol' hyperterminal?

OK it seems that DD-WRT has full support for the 610N now.

Source: http://svn.dd-wrt.com:8000/dd-wrt/ticket/867

I'm sure this is a 2.4 kernel-only solution, but I hope it inspires the OpenWRT folks.

On a side note, anyone know of a "better" com/terminal program for Linux?  I've got minicom and cutecom.  hyperterminal?

Better than hyperterminal is "putty". It is available for 'Doze, Mac and Linux.
However .....
All the "good" terminal programs don't record/playback keystrokes. It'd be too easy to store your ID and password under an "F" or <ctrl>x key. The guys who write these good termemu/clients spend a lot of time sorting out the kerberos and other security stuff, and don't want to compromise their product by having some wacky end-user record/playback important stuff.

If you really want to record/playback, try creating a text file and use the copy/paste between the text file and the ssh/telnet/serial client. Putty does this beautifully under 'Doze, and I expect the same would be true in kde etc.

HTH.

@rickmancr750:

Is putty not strictly for network connections?

I'm looking for a console/serial connection interface program that behaves very similarly to hyperterminal  (I like being able to hit 'TAB' and have commands auto-complete, which, as far as I'm aware, is not possible with the progs mentioned above).

I guess it's not big deal, eventually I'll have openwrt on it and be able to telnet.

5arge wrote:

@rickmancr750:
Is putty not strictly for network connections?

The latest version of putty (v 0.60) does serial as well as ssh, raw, rlogin and telnet.

The auto completion function is part of the operating system, not the emu. Tab works fine with putty, serial, and telnet connections to my 610n.

@5arge:

I use gtkterm. The debian package apparently comes from http://www.jls-info.com/julien/linux/.
However I note gtkterm.sf.net exists with newer revisions, but I don't know if its the same thing.

gtkterm works fine with my 610n. It also works well with 'real' cisco routers.

I have a 610 I try old version of mega wrt but now blink there's a system to recover without open it or see how do on boot?

there's same img 100% work I need only lan no wifi at moment interest

(Last edited by gallis on 25 Feb 2009, 20:42)

@rickmancr750

OK.  When I originally install putty, I thought it was strictly a command line utility (with no options for a serial connection), but I recently noticed it also has a GUI, which allows serial connections.  Thanks, I like it (other than the output that keeps scrolling my commands out of view before they are complete.  I assume there's no way to supress that....oh well, I'm hard to please wink.

@ Trevelyan

I'll have to check that out. Thanks.

5arge wrote:

@rickmancr750

Thanks, I like it (other than the output that keeps scrolling my commands out of view before they are complete.  I assume there's no way to supress that....oh well, I'm hard to please wink.

Possibly two answers -

1. pipe your commands into "more".
          eg.    #find / |more
The space bar will release the next screenfull of data.

2. 'Doze putty has an elevator button to scroll back throught the screen text. The scrollback buffer is 200 lines by default, but I reset it to 10000 lines.

This conversation has gone way off-topic.. Now ths is a terminal manual/support thread..

Somewhat more on topic, the b43 guys have finished reverse engineering specs for the LP-PHY, and will now be looking at N-PHY.
I'm not going to guess how long those specs will take to write. Of course after that the code has to be written...

But since on 610n G and N are separate cards, having everything except N working should be possible?
Although reading this thread it seems there is also some issues with the switch?

The thread has gotten rather long, and wonders off a fair bit.

Like I said the switch should work if it's 57xx if you do a custom compile with it included. I wish that they could just rip out the proprietary n-drivers in the mean time, it seems far off and out of their hands enough to be worthwhile. dd-wrt is tiresome.

jake1981 wrote:

This conversation has gone way off-topic.. Now ths is a terminal manual/support thread..

Yes, it has...  Just as it is also a jumbo-frame tutorial.   ;P

Seriously though; you're right.  Sorry about that.

So having said that... I am curious if any progress has been made?

Nothing new?

really nothing new?
would it help to donate some money to the b43-team?

Even though money would be donated to b43-team, it WILL take ages before they get this thing supported - they have been researching wireless used on wrt54g(s) for ages and it's not that long time since openwrt was able to use their drivers to get wireless usable on wrt54g(s) with 2.6 kernel - and wireless now works.. After years..

But if you take it a bit further, for example, connect to wrt54g(s) which is using b43 driver via wireless and start downloading, let's say for e.g... A .ISO image (whatever big file is suitable for testing, but I tested this by using iso images of a popular linux distribution).. Downlink speed is pretty stable and high when you use original linksys driver on 2.4 kernel, but with b43 driver, speed was approximately 400kbps less (I have a 12MB line here) and it was wandering all the time - until finally connection to AP was lost..

So - I encourage people to donate money, if you can't write the driver code by yourself, or you aren't about to donate useful technology to b43 team - only way to help them is donating money for the project.

I would be happy to get the router up and running even without wireless - but USB and switch should work so even something could be done smile

---

But - answer to your question; yes, it would help..

(Last edited by jake1981 on 18 Mar 2009, 15:56)

Hi. i have a wrt600n, and i can access to serial console.

But i have readonly access to the router, is it because before the 3v3 ttl cable i tried with a 5v cable and burned the serial port?

If anwser is yes, is there nay other way to access to the console serial port or maybe JTAG?

Regards.

(Last edited by zargalo on 3 Apr 2009, 19:57)

zargalo, double check your solder connections perhaps you have no damage just a bad joint.  I suspect 5V is not enough to "burn" anything and even if so it would kill the console entirely not just one side.

Just checking in.  Haven't had any time to pursue this port on my own, anyone else?

I donated to an OpenWRT developer.  A week ago I dropped him an email asking
if there was any progress on his side, haven't heard anything.

Hi guys!

Just not very clear to me: It would be possible to compile an OpenWRT firmware using kernel v2.4 and the proprietary drivers from Linksys to support the WRT610N router?

Thanks!

(Last edited by vinicius.vbf on 13 May 2009, 08:13)

I took apart my WRT610N to put a serial port on it.  Of course I had to take off the metal "shields" and see what was underneath.  Tried taking pictures but I don't have a steady hand nor a decent camera.  So I figured I would just post the numbers off the chips, in case they are of any use to somebody:

CPU: BCM4705BKFBG  CN0827 P12 880123 B3
RAM: HY5DU561622FTP-D43 (x2)
WIRELESS (2.4 GHz): BCM4322LKFBG TG0834 P11 888643 01
RF interface (2.4 GHz): SiGe 2520L 8168H (x2)
WIRELESS (5 GHz): BCM4322LKFBG TG0834 P11 888643 01
RF interface (5 GHz): SiGe 2547A 8140H

??w I can use wireless proprietary module from Linksys WRT610N GPL sources in OpenWRT 2.4 build? It is possible?
I try to get modules from dd-wrt sources, but didnt find it sad
Now I build kamikaze with 2.4 kernel and bcm57xx driver and switch is working (I see it over serial console).

some dmesg output:
eth0: Broadcom BCM4785 10/100/1000 Integrated Controller found at mem 18010000,e
eth0: Unknown transceiver found
eth0: Scatter-gather ON, 64-bit DMA ON, Tx Checksum ON, Rx Checksum ON, 802.1Q N
eth0: Using PCI INTX interrupt

root@OpenWrt:/# uname -a
Linux OpenWrt 2.4.35.4 #6 Wed May 20 19:16:45 EEST 2009 mips unknown

root@OpenWrt:/# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:23:69:14:A6:3E
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0      Link encap:Ethernet  HWaddr 00:23:69:14:A6:3E
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:950 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:380820 (371.8 KiB)
          Interrupt:5 Memory:18010000-18020000

eth0.0    Link encap:Ethernet  HWaddr 00:23:69:14:A6:3E
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:528 (528.0 B)

eth0.1    Link encap:Ethernet  HWaddr 00:23:69:14:A6:3E
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:946 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:380292 (371.3 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:336 (336.0 B)  TX bytes:336 (336.0 B)

Can U help me?