1

Temat: USR 9108 jako router

Wiem, że może ten post nie koniecznie pasuje do tego forum ale może ktoś doradzi czy można użyć tego modemu/routera ADSL jako zwykłego routera z punktem dostępowym wifi, czyli:

Sygnał z modemu kablowego(RJ-45) --> Któryś z portów LAN na USR9108

Klient bezprzewodowy --> wifi USR9108 --> dostęp do internetu

Podobno można to wykonać, ale jak???

2

Odp: USR 9108 jako router

Dokładnie tak jak napisałeś - przydziel mu adres ip z tej samej klasy adresowej do ma modem, wyłącz na nim dhcp (niech modem przydziela - rozumiem ze on robi nata) i masz głupiego ap.

A tak w ogóle to zainstaluj openwrt na nim będziesz miał normalny router.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: USR 9108 jako router

OK, a czy są jakieś gotowe obrazy dla tego urządzenia, czy trzeba samemu kompilować?

4

Odp: USR 9108 jako router

http://downloads.openwrt.org/snapshots/trunk/brcm63xx/

A opis masz u mnie na eko.one.pl

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: USR 9108 jako router

Czyli jak zainstaluję pobrany obraz "openwrt-USR9108-squashfs-cfe.bin" to wystarczy skonfigurować interfejsy wg twojego opisu i będzie hulać?

6

Odp: USR 9108 jako router

Jako normalny router z lan/wan, tak.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: USR 9108 jako router

Dzięki.

8

Odp: USR 9108 jako router

Witam,

openwrt wgrał się ok ale po edycji pliku network i restarcie nie mogę się podłączyć do routera w żaden sposób (ssh,scp). Server niespodziewanie zamyka połączenie. Pingi chodzą, odpowiedź 7ms.

HELP!

9

Odp: USR 9108 jako router

Nie help tylko telnet. Nie ma przecież hasła domyślnie.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

10

Odp: USR 9108 jako router

Przez to przeszedłem, najpierw zalogowałem się przez telnet, ustawiłem hasło, połączyłem się przez ssh, później zedytowałem plik network wg wskazówek (rozbiłem to z windy przez winscp), zrestartowałem router przyciskiem(!) i tyle. Teraz nie mogę się do niego dostać...

11

Odp: USR 9108 jako router

Więc teraz to już nic nie zrobisz - jeżeli popełniłeś błąd/literówkę przy wpisywaniu to on teraz nie ma poprawnej konfiguracji.

Przycisk reset jest sprzętowy, więc nie da się w failsafe uruchomić router, bo nie ma czym go wywołać. Zostaje Ci więc kabel szeregowy.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

12

Odp: USR 9108 jako router

Witam ponownie.

Udało mi się podłączyć router kablem szeregowym, po wystartowaniu w terminalu mam:

<0>

CFE version 1.0.37-1.5 for BCM96348 (32bit,SP,BE)
Build Date: Thu Jun  9 16:22:27 CDT 2005 (root@localhost.localdomain)
Copyright (C) 2000-2005 Broadcom Corporation.

Boot Address 0xbfc00000

Initializing Arena.
Initializing Devices.
Parallel flash device: name AM29LV320MT, id 0x2201, size 4096KB
CPU type 0x29107: 256MHz, Bus: 128MHz, Ref: 32MHz
Total memory: 16777216 bytes (16MB)

Total memory used by CFE:  0x80401000 - 0x80524F90 (1195920)
Initialized Data:          0x8041C3B0 - 0x8041E720 (9072)
BSS Area:                  0x8041E720 - 0x80422F90 (18544)
Local Heap:                0x80422F90 - 0x80522F90 (1048576)
Stack Area:                0x80522F90 - 0x80524F90 (8192)
Text (code) segment:       0x80401000 - 0x8041C3A4 (111524)
Boot area (physical):      0x00525000 - 0x00565000
Relocation Factor:         I:00000000 - D:00000000

Board IP address                  : 192.168.1.1 
Host IP address                   : 192.168.1.100 
Gateway IP address                :   
Run from flash/host (f/h)         : f 
Default host run file name        : vmlinux 
Default host flash file name      : bcm963xx_fs_kernel 
Boot delay (0-9 seconds)          : 1 
Board Id Name                     : 96348GW-A 
Psi size in KB                    : 24
Number of MAC Addresses (1-32)    : 11 
Base MAC Address                  : 00:14:c1:0d:59:e9 
Ethernet PHY Type                 : External Switch Using Reverse MII
Memory size in MB                 : 16
Country code                      : US

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
Code Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Closing network.
Starting program at 0x80010000
Linux version 2.6.39.4 (openwrt@OpenWRTBuild) (gcc version 4.5.4 20110808 (prerelease) (Linaro GCC 4.5-2011.08) ) #1 Mon Nov 14 23:18:41 MST 2011
Detected Broadcom 0x6348 CPU revision a2
CPU frequency is 256 MHz
16MB of RAM installed
registering 37 GPIOs
board_bcm963xx: Boot addressio_map_base unset
registering PCI controller with io_map_base unset
bio: create slab <bio-0> at 0
pci 0000:01:1e.0: BAR 10: assigned [mem 0x38000000-0x3fffffff]
pci 0000:01:1e.0: BAR 7: assigned [io  0x8008000-0x80080ff]
pci 0000:01:1e.0: BAR 8: assigned [io  0x8008400-0x80084ff]
pci 0000:01:1e.0: CardBus bridge to [bus 02-05]
pci 0000:01:1e.0:   bridge window [io  0x8008000-0x80080ff]
pci 0000:01:1e.0:   bridge window [io  0x8008400-0x80084ff]
pci 0000:01:1e.0:   bridge window [mem 0x38000000-0x3fffffff]
PCI: Enabling device 0000:01:1e.0 (0000 -> 0003)
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
audit: initializing netlink socket (disabled)
type=2000 audit(0.220:1): initialized
squashfs: version 4.0 (2009/01/31) Phillip Lougher
JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
msgmni has been set to 25
io scheduler noop registered
io scheduler deadline registered (default)
bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0300 (irq = 10) is a bcm63xx_uart
console [ttyS0] enabled, bootconsole disabled
console [ttyS0] enabled, bootconsole disabled
bcm963xx-flash bcm963xx-flash.0: 0x00400000 at 0x1fc00000
bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e
Amd/Fujitsu Extended Query Table at 0x0040
  Amd/Fujitsu Extended Query version 1.3.
bcm963xx: Swapping erase regions for top-boot CFI table.
number of CFI chips: 1
bcm963xx_flash: Read Signature value of CFE1CFE1
bcm963xx-flash bcm963xx-flash.0: CFE bootloader detected
bcm963xx_flash: CFE boot tag found with version 6 and board type 96348GW-A
bcm963xx_flash: Partition 0 is CFE offset 0 and length 10000
bcm963xx_flash: Partition 1 is kernel offset 10100 and length eff00
bcm963xx_flash: Partition 2 is rootfs offset 100000 and length 2f0000
bcm963xx_flash: Partition 3 is nvram offset 3f0000 and length 10000
bcm963xx_flash: Partition 4 is linux offset 10000 and length 3e0000
bcm963xx_flash: Spare partition is 280000 offset and length 170000
Creating 5 MTD partitions on "bcm963xx":
0x000000000000-0x000000010000 : "CFE"
0x000000010100-0x000000100000 : "kernel"
mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
0x000000100000-0x0000003f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=270000, len=180000
0x000000270000-0x0000003f0000 : "rootfs_data"
0x0000003f0000-0x000000400000 : "nvram"
0x000000010000-0x0000003f0000 : "linux"
bcm63xx_enet MII bus: probed
bcm63xx-wdt bcm63xx-wdt.0:  started, timer margin: 30 sec
TCP westwood registered
NET: Registered protocol family 17
Bridge firewalling registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 172k freed
3xx: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e
Amd/Fujitsu Extended Query Table at 0x0040
  Amd/Fujitsu Extended Query version 1.3.
bcm963xx: Swapping erase regions for top-boot CFI table.
number of CFI chips: 1
bcm963xx_flash: Read Signature value of CFE1CFE1
bcm963xx-flash bcm963xx-flash.0: CFE bootloader detected
bcm963xx_flash: CFE boot tag found with version 6 and board type 96348GW-A
bcm963xx_flash: Partition 0 is CFE offset 0 and length 10000
bcm963xx_flash: Partition 1 is kernel offset 10100 and length eff00
bcm963xx_flash: Partition 2 is rootfs offset 100000 and length 2f0000
bcm963xx_flash: Partition 3 is nvram offset 3f0000 and length 10000
bcm963xx_flash: Partition 4 is linux offset 10000 and length 3e0000
bcm963xx_flash: Spare partition is 280000 offset and length 170000
Creating 5 MTD partitions on "bcm963xx":
0x000000000000-0x000000010000 : "CFE"
0x000000010100-0x000000100000 : "kernel"
mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
0x000000100000-0x0000003f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automaticallawk: /proc/cpuinfo: No such file or directory
eth1: link forced UP - 100/full - flow control off/off
roboswitch: Probing device eth0:
roboswitch: [/home/openwrt/slave/brcm63xx/build/build_dir/linux-brcm63xx/kmod-switch/switch-robo.c:121] SIOCGETCPHYRD failed!
roboswitch: [/home/openwrt/slave/brcm63xx/build/build_dir/linux-brcm63xx/kmod-switch/switch-robo.c:121] SIOCGETCPHYRD failed!
No Robo switch in managed mode found, phy_id = 0xffffffff
roboswitch: Probing device eth1: found a 5325! It's a 5350.
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
JFFS2 notice: (331) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 3 of xref (0 dead, 2 orphan) found.
switching to jffs2
- init -

Please press Enter to activate this console. Compat-wireless backport release: compat-wireless-2011-10-14
Backport based on wireless-testing.git master-2011-11-04
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Broadcom 43xx driver loaded [ Features: PNL ]
Button Hotplug driver version 0.4.1
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (207 buckets, 828 max)
eth1: link forced UP - 100/full - flow control off/off
device eth1.0 entered promiscuous mode
device eth1 entered promiscuous mode
br-lan: port 1(eth1.0) entering forwarding state
br-lan: port 1(eth1.0) entering forwarding state


I dalej stoi. Pingi chodzą na 192.168.1.1.
Pytanie jak wgrać spowrotem oryginalny soft. Czy jest taka możliwość i jak to zrobić?

13

Odp: USR 9108 jako router

Nic nie stoi. Normalnie uruchomił się.

Jak klepniesz enter to będziesz miał konsolę. Przez telnet możesz się zapewne dostać na 192.168.1.1 wiec masz normalnie działający system.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

14

Odp: USR 9108 jako router

Niestety nie mogę się podłączyć ani przez telnet ani przez www... co robić? Czy można mu wgrać oryginalny firmware przez szeregowy kabel? jeśli tak to jak to zrobić?

15

Odp: USR 9108 jako router

1 - masz kabel szeregowy to zrób firstboot i będziesz mógł się połączyć przez telnet. Przez www się nie podłączysz bo wgrałeś obraz bez żadnego interfejsu graficznego, najpierw go sobie zainstaluj
2 - u mnie na eko.one.pl masz cały poradnik o usr9108, masz też tam jak wgrać oprogramowanie. Oryginalne też w ten sposób możesz wgrać.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

16

Odp: USR 9108 jako router

To jeszcze jedno pytanie, co może być nie tak gdy wpisuję w terminalu cokolwiek to pojawiają się "krzaki" i nie mogę przerwać botowania?

17

Odp: USR 9108 jako router

Ponieważ masz output dobry - źle połączenie tx kabla

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

18

Odp: USR 9108 jako router

OK. Już wszystko poszło. Działa!
Dzięki