User Tools

Site Tools


toh:3com:3crwer100_75

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Previous revision
toh:3com:3crwer100_75 [2013/02/05 10:48]
toh:3com:3crwer100_75 [2016/08/12 16:05] (current)
andreajvc [Switch Ports]
Line 1: Line 1:
 +====== 3Com 3CRWER100-75 ======
 +ASAP I' ll try to improve this article.
 +Now here is step by step installation of OpenWrt for experienced user. NOT for beginners.
  
 +===== Supported Versions =====
 +^ Version/​Model ​  ^ Launch Date   ^ S/N   ^ OpenWrt Version Supported ​  ^ Model Specific Notes   ^
 +| -               | -             | -     | trunk r28395 ​               | -                      |
 +
 +===== Hardware Highlights =====
 +^ CPU                    ^ Ram     ^ Flash   ^ Network ​  ^ USB   ^ Serial ​  ^ JTag   ^
 +| Atheros 2315A@180MHz ​  | 16MiB   | 4MiB    | 1 + 4     | No    | Yes      | ?      |
 +
 +===== Downloading files =====
 +=== OpenWrt ===
 +[[http://​downloads.openwrt.org/​attitude_adjustment/​12.09/​atheros/​generic/​|From Attitude Adjustment generic repo]]
 +   * Kernel: [[http://​downloads.openwrt.org/​attitude_adjustment/​12.09/​atheros/​generic/​openwrt-atheros-vmlinux.lzma | openwrt-atheros-vmlinux.lzma]]
 +   * RootFS: [[http://​downloads.openwrt.org/​attitude_adjustment/​12.09/​atheros/​generic/​openwrt-atheros-root.squashfs | openwrt-atheros-root.squashfs]]
 +
 +=== Other SW ===
 +   * TFTP [[http://​tftpd32.jounin.net/​tftpd32_download.html | http://​tftpd32.jounin.net/​tftpd32_download.html ]]
 +   * Putty [[http://​www.chiark.greenend.org.uk/​~sgtatham/​putty/​download.html | http://​www.chiark.greenend.org.uk/​~sgtatham/​putty/​download.html]]
 +===== Installation =====
 +**You are doing everything at your own risk! Nobody is responsible for what you are doing.
 +Don't do it if you don't know what you are doing!
 +
 +Incomplete BETA version of text!
 +**
 +
 +=== Operating system ==
 +   * Set your IP: 10.10.12.2 (alt. 192.168.1.101)
 +   * Mask: 255.0.0.0
 +
 +=== TFTP ===
 +   * Start server listening on: 10.10.12.2 (alt. 192.168.1.101)
 +
 +=== Putty ===
 +   * Telnet to 10.10.12.72 (alt. 192.168.1.1) on port 9000 to get Redboot prompt
 +   * It's better to use ''​.bat''​ (Because port 10.10.12.72:​9000 open only 1 second)
 +   * You can use some usefull script from [[https://​gist.github.com/​shayas/​8dffc1d636d900da0830 | https://​gist.github.com/​shayas/​]] ​    
 +<​code>:​redboot
 +putty.exe -telnet -P 9000 10.10.12.72
 +goto redboot </​code>​
 +
 +=== RedBoot===
 +   * Verify config ( last point where you can stop the procedure )
 +<​code>​fconfig -l</​code>​
 +
 +   * Clear flash
 +<​code>​fis init</​code>​
 +
 +   * Agree with format
 +<​code>​y</​code>​
 +
 +   * Download kernel from TFTP server  ​
 +<​code>​load -r -b %{FREEMEMLO} openwrt-atheros-vmlinux.lzma</​code>​
 +
 +   * Create partition for kernel
 +<​code>​fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7</​code>​
 +
 +   * Download RootFS from TFTP server
 +<​code>​load -r -b %{FREEMEMLO} openwrt-atheros-root.squashfs</​code>​
 +
 +   * Check free space
 +<​code>​fis free</​code>​
 +
 +   * Create partition for RootFS. Replace 0x2E0000 for number you get as difference between last number of free space and the first number. All in hex.
 +<​code>​fis create -l 0x2E0000 rootfs</​code>​
 +
 +   * Verify partition table
 +<​code>​fis list</​code>​
 +
 +   * Reboot into OpenWrt
 +<​code>​reset</​code>​
 +
 +FIXME
 +
 +===== Verify OpenWrt installation =====
 +   * Telnet to 192.168.1.1 on standard port(23)
 +   * If it does not work try:
 +     1) Telnet to 10.10.12.72 (alt. 192.168.1.1) on port 9000 to get Redboot prompt
 +<​code>​RedBoot>​ fis load -l vmlinux.bin.l7
 +RedBoot> go 0x80041000 </​code>​
 +
 +2) Now you can see Open Wrt promt.
 +<​code>​root@OpenWrt:/#​ </​code>​
 +     
 +3) Thus you have to correct booting procedure. Reboot device
 +<​code>​Telnet to 10.10.12.72
 +RedBoot> fconfig -l 
 +RedBoot> fconfig boot_script_data</​code>​
 +
 +Enter following:
 +
 +<​code>​fis load -l vmlinux.bin.l7
 +go 0x80041000
 +</​code>​
 +
 +Save and reboot.
 +
 +===== Serial on JP1 =====
 +{{:​media:​3com:​serial.jpg?​400}}
 +
 +  * brown = gnd
 +  * red, orange = tx and rx (sry, I don't know which is which and now I can't test it)
 +
 +===== Switch Ports =====
 +FIXME
 +
 +^ Port         ^ Switch port   ^ Router'​s port label ^ Interface ^
 +| LAN          | Port 0        | LAN 4               | eth0.1 ​   |
 +| LAN          | Port 1        | LAN 3               | eth0.1 ​   |
 +| LAN          | Port 2        | LAN 2               | eth0.1 ​   |
 +| LAN          | Port 3        | LAN 1               | eth0.1 ​   |
 +| WAN          | Port 4        | Cable/​DSL ​          | eth0.2 ​   |
 +| CPU          | Port 5        | N.A.                | eth0      |
 +
 +To find out the dev switch name:
 +
 +<​file>​
 +root@OpenWrt:​~#​ swconfig list
 +Found: switch0 - eth0
 +</​file>​
 +
 +To check the switch ports list:
 +<​file>​
 +root@OpenWrt:​~#​ swconfig dev switch0 show
 +Global attributes:
 +        enable_vlan:​ 1
 +        name: IP175C
 +        phy: 0
 +        reg: 0
 +        val: 12544
 +Port 0:
 +        status: up, 10 Mbps, full duplex, auto-negotiate
 +        link: 10
 +        tagged: 0
 +        pvid: 1
 +Port 1:
 +        status: down, auto-negotiate (in progress)
 +        link: 0
 +        tagged: 0
 +        pvid: 1
 +Port 2:
 +        status: down, auto-negotiate (in progress)
 +        link: 0
 +        tagged: 0
 +        pvid: 1
 +Port 3:
 +        status: down, auto-negotiate (in progress)
 +        link: 0
 +        tagged: 0
 +        pvid: 1
 +Port 4:
 +        status: up, 100 Mbps, full duplex, auto-negotiate
 +        link: 100
 +        tagged: 0
 +        pvid: 2
 +Port 5:
 +        status: up, 100 Mbps, cpu port
 +        link: 100
 +        tagged: 1
 +        pvid: 0
 +VLAN 1:
 +        vid: 1
 +        ports: 0 1 2 3 5t 
 +VLAN 2:
 +        vid: 2
 +        ports: 4 5t 
 +</​file>​
 +===== Tags =====
 +[[meta:​tags|How to add tags]]
 +{{tag>​2005-JAN FastEthernet 5Port integrated 802.11bg 2Ant DetachableAntenna 16RAM 4Flash Serial}}