PDA

Bekijk de volledige versie : OpenWrt



Kaloz
08-01-2004, 10:38
Hi,

there's a project for the Linksys WRT54G named OpenWrt (http://openwrt.sourceforge.net).
I'm just going to buy an Asus WL-500G, and port OpenWrt for that, too.
If someone could send me the dmesg (cat /proc/kmsg) of the Asus until I receive mine, it would be really helpful.

Thank You,
Imre Kaloz

Kaloz
08-01-2004, 17:30
Antiloop? anyone else?
it's really hard to belive, that everyone is too lazy to copy-paste that for me..

Oleg
08-01-2004, 17:35
cat /proc/kmsg just hangs.

Kaloz
08-01-2004, 17:40
oh.. really strange.. is there a "dmesg" on the asus?
i'm trying to find out the difference between the wrt and the asus.

Antiloop
08-01-2004, 20:11
Originally posted by Kaloz
Antiloop? anyone else?
it's really hard to belive, that everyone is too lazy to copy-paste that for me..

not too lazy :P i can't telnet at work (fuck proxies)

# dmesg
CPU revision is: 00024000
Loading BCM4710 MMU routines.
Primary instruction cache 8kb, linesize 16 bytes (2 ways)
Primary data cache 4kb, linesize 16 bytes (2 ways)
Linux version 2.4.20 (root@localhost.localdomain) (gcc version 3.0 20010422 (pre
release) with bcm4710a0 modifications) #37 Tue Oct 21 16:21:51 CST 2003
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 noinitrd console=ttyS0,115200
CPU: BCM4710 rev 0 at 125 MHz
!unable to setup serial console!
Calibrating delay loop... 82.94 BogoMIPS
Memory: 14372k/16384k available (1401k kernel code, 2012k reserved, 112k data, 6
4k init, 0k highmem)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Fixing up bus 1
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
NTFS driver v1.1.22 [Flags: R/W]
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI en
abled
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
Physically mapped flash: Swapping erase regions for broken CFI table.
number of CFI chips: 1
flash device: 400000 at 1fc00000
Physically mapped flash: cramfs filesystem found at block 944
Creating 4 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "pmon"
0x00040000-0x003f0000 : "linux"
0x000ec304-0x003f0000 : "rootfs"
0x003f0000-0x00400000 : "nvram"
sflash: chipcommon not found
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
ip_conntrack version 2.1 (128 buckets, 1024 max) - 344 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_time loading
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
VFS: Mounted root (cramfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 64k freed
Warning: unable to open an initial console.
Algorithmics/MIPS FPU Emulator v1.5
eth0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.31.12.0
default: 1a60
eth1: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.31.12.0
PCI: Enabling device 01:02.0 (0004 -> 0006)
eth2: Broadcom BCM43XX 802.11 Wireless Controller 3.31.12.0 (Compiled in . at 1
8:48:19 on Jul 14 2003)
device wds0.2 entered promiscuous mode
device eth0 entered promiscuous mode
device eth2 entered promiscuous mode
br0: port 3(eth2) entering learning state
br0: port 2(eth0) entering learning state
br0: port 1(wds0.2) entering learning state
br0: port 3(eth2) entering forwarding state
br0: topology change detected, propagating
br0: port 2(eth0) entering forwarding state
br0: topology change detected, propagating
br0: port 1(wds0.2) entering forwarding state
br0: topology change detected, propagating
Adpt 2 c000
Adpt 1 c000
Adpt 0 c000
Link up c000 8100
Adpt ffffffff 8100
ALERTIN=eth1 OUT= MAC=xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
SRC=212.204.192.
61 DST=xxx.xx.xxx.xx LEN=40 TOS=0x00 PREC=0x00 TTL=54 ID=64405 DF PROTO=TCP SPT=
80 DPT=1197 WINDOW=7088 RES=0x00 ACK FIN URGP=0
ALERTIN=eth1 OUT= MAC=xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx SRC=xxx.xx.xxx.x
5 DST=xxx.xx.xxx.xx LEN=380 TOS=0x00 PREC=0x00 TTL=64 ID=11348 DF PROTO=UDP SPT=
67 DPT=68 LEN=360
ALERTIN=eth1 OUT= MAC=xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx SRC=xxx.xx.xxx.x
x DST=xxx.xx.xxx.xx LEN=380 TOS=0x00 PREC=0x00 TTL=64 ID=11351 DF PROTO=UDP SPT=
67 DPT=68 LEN=360
ALERTIN=eth1 OUT= MAC=xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx SRC=207.46.106.1
67 DST=xxx.xx.xxx.xx LEN=59 TOS=0x08 PREC=0x20 TTL=48 ID=15845 PROTO=TCP SPT=186
3 DPT=1053 WINDOW=17515 RES=0x00 ACK PSH URGP=0
lp0: using parport0 (polling).
usb.c: registered new driver hub
ALERTIN=eth1 OUT= MAC=xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx SRC=207.46.106.1
67 DST=xxx.xx.xxx.xx LEN=59 TOS=0x08 PREC=0x20 TTL=48 ID=28311 PROTO=TCP SPT=186
3 DPT=1053 WINDOW=17515 RES=0x00 ACK PSH URGP=0
usb-ohci.c: USB OHCI at membase 0xb8004000, IRQ 2
usb-ohci.c: usb-00:04.0, PCI device 14e4:4715
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 usblp
printer.c: v0.11: USB Printer Device Class driver
Linux video capture interface: v1.00
hub.c: new USB device 00:04.0-1, assigned address 2
hub.c: USB hub found
hub.c: 4 ports detected
hub.c: new USB device 00:04.0-1.3, assigned address 3
usb.c: USB device not accepting new address=3 (error=-145)
hub.c: new USB device 00:04.0-1.3, assigned address 4
usb.c: USB device 4 (vend/prod 0x471/0x308) is not claimed by any active driver.
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
lp driver: get device ID
neg fail
Register User Space Key Handler : 755 0
pwc Philips PCA645/646 + PCVC675/680/690 + PCVC730/740/750 webcam module version
8.8 loaded.
pwc Also supports the Askey VC010, Logitech Quickcam 3000 Pro, Samsung MPC-C10 a
nd MPC-C30,
pwc the Creative WebCam 5, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100
.
usb.c: registered new driver Philips webcam
pwc Philips PCVC680K (Vesta Pro) USB webcam detected.
pwc Registered as /dev/video0.
pwc Dumping frame 6.
pwc Dumping frame 7.
pwc Dumping frame 8.
pwc Dumping frame 9.
pwc Dumping frame 10.
pwc Dumping frame 11.
pwc Dumping frame 12.
pwc Dumping frame 13.
pwc Dumping frame 14.
pwc Dumping frame 15.
pwc Dumping frame 16.
pwc Dumping frame 17.
pwc Dumping frame 18.
pwc Dumping frame 19.
pwc Dumping frame 20.
pwc Dumping frame 21.
pwc Dumping frame 22 (last message).
ALERTIN=eth1 OUT= MAC=xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx SRC=64.4.12.201
DST=xxx.xx.xxx.xx LEN=48 TOS=0x08 PREC=0x20 TTL=47 ID=14383 PROTO=UDP SPT=7001 D
PT=1065 LEN=28
ALERTIN=eth1 OUT= MAC=xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx SRC=195.204.1.13
2 DST=xxx.xx.xxx.xx LEN=44 TOS=0x00 PREC=0x00 TTL=50 ID=35526 DF PROTO=TCP SPT=6
667 DPT=3072 WINDOW=65535 RES=0x00 ACK SYN URGP=0
lp driver: get device ID
lp_wait_ready timeout
lp_write timeout
lp_wait_ready timeout
lp_write timeout
#



at time of running, there was ONE USB HUB (4port) connected, and a Philips Webcam (680)

Antiloop
08-01-2004, 20:12
Originally posted by Kaloz
oh.. really strange.. is there a "dmesg" on the asus?
i'm trying to find out the difference between the wrt and the asus.

the asus is more advanced :) that's the difference..

Kaloz
09-01-2004, 01:24
maybe. but without a _really_ customized firmware, You can'get everything, what this little box cn do for You. The USB is a very nice feature, thatswhy I want to get OpenWrt work on it. A dmesg or /proc/kmsg output would tell us, what the difference really, I mean the ethernet/wireless driver, etc.

Kaloz
09-01-2004, 01:44
hehe, okay, missed the post with the dmesg :)
sorry for that :)

Kaloz
03-04-2004, 14:45
Okay, OpenWRT has booted on my wl-500g.. Almost 100% working, some minor changes will be needed.
I let You know, when it's ready.

Snigel
03-04-2004, 16:24
Oh that sounds nice. Does it have packet prioriting

Kaloz
03-04-2004, 18:01
Originally posted by Snigel
Oh that sounds nice. Does it have packet prioriting

The kernel supports QoS, and Yes, there is a 'tc' package. So You can do everything You want ;)
I will add all the asus features (printing, etc) as packages to OpenWRT as well.

Oleg
04-04-2004, 16:00
Hm... In my opinion printing stuff requires more work than just compiling... Regular packages require spool directory for things to work...

Technik
11-05-2004, 17:15
A test version of OpenWRT made by p.salek from CZFREE forum...
http://www.bud-net.org/soft/asus/OpenWRT%20WL500%20mod/
And some customized firmware revisions (uncommented) of the same Author in parent directory:
http://www.bud-net.org/soft/asus/

Kaloz
11-05-2004, 17:47
A test version of OpenWRT made by p.salek from CZFREE forum...
http://www.bud-net.org/soft/asus/OpenWRT%20WL500%20mod/
And some customized firmware revisions (uncommented) of the same Author in parent directory:
http://www.bud-net.org/soft/asus/

Everyone can build itself.. The only fixup it really needs is to disable the resetmon check. BTW, there are no .ipk files to support printing or anything other, yet.

buhzi
13-05-2004, 16:20
Everyone can build itself.. The only fixup it really needs is to disable the resetmon check. BTW, there are no .ipk files to support printing or anything other, yet.
Hey Kaloz, i'm interested in building the openwrt for the asus wl-500g, can you guide me? What do i have do modify?


I will add all the asus features
Cool, let us know if we can help or if you are ready ;)

Kaloz
13-05-2004, 22:01
Hey Kaloz, i'm interested in building the openwrt for the asus wl-500g, can you guide me? What do i have do modify
Sure. Just go with the original way, and when it's finished, delete the two .bin files, the root_fs_mipsel file and the .trx file. then edit and comment out the resetmon check in buildroot/build_mipsel/root/etc/preinit , and re-run make. That trx will work on the asus. If you forget that step, it will work, but it will go into safe-mode, and will add the wan to the bridge.


Cool, let us know if we can help or if you are ready ;)
Sure, I will.. Just I need some free time..