Temat: Zdalny dostęp do routera

Witam serdecznie.
Znowu zwracam się do Was z prośbą o pomoc w ogarnięciu zdalnego dostępu do routera. Problem polega w skonfigurowaniu wszystkiego tak jak być powinno. Moja sieć polega na tym, że mój router robi za podwójny NAT, a przed nim jest zasilacz PPPoE do którego nie mam dostępu. Od mojego ISP dostałem informacje, że wszelkie porty z zasilacza PPPoE przekierował na adres 192.168.1.253 w sieci lokalnej. I tutaj pojawia się problem. Według mojej wiedzy najprościej byłoby zmienić adres routera na 192.168.1.253 i powinno być dobrze a resztę przekierowywać normalnie za pomocą routera, lecz to nie działa. Internet jest tylko na telefonie, a na komputerze już nie. Piszę do Was z prośbą o jakąkolwiek pomoc lub nakierowanie jak mógłbym to ugryźć aby to działało tak jak należy.
Pozdrawiam,

2

Odp: Zdalny dostęp do routera

Wan ustawiasz na stałe na 192.168.1.253, lan ustaw na 192.168.2.1. O ile isp faktycznie robi tak jak mówi, to masz normalny wan/lan i dalej robisz wg własnego uznania.

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

3

Odp: Zdalny dostęp do routera

Ustawiłem wszystko tak jak wyżej, lecz pojawił się problem z DHCP. Nie przydziela poprawnych adresów IP dodanych jako statyczne.
Logread:

Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   33.320000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   33.470000] eth0: link down
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   34.070000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   34.080000] Backport generated by backports.git backports-20140320-37-g5c33da0
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   34.260000] cfg80211: Calling CRDA to update world regulatory domain
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   34.260000] cfg80211: World regulatory domain updated:
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   34.270000] cfg80211:  DFS Master region: unset
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   34.270000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   34.280000] cfg80211:   (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   34.290000] cfg80211:   (5140000 KHz - 5860000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   34.590000] NET: Registered protocol family 10
Jan  1 01:00:45 TP-Link WR1043ND kern.debug kernel: [   35.960000] ath: EEPROM regdomain: 0x0
Jan  1 01:00:45 TP-Link WR1043ND kern.debug kernel: [   35.960000] ath: EEPROM indicates default country code should be used
Jan  1 01:00:45 TP-Link WR1043ND kern.debug kernel: [   35.960000] ath: doing EEPROM country->regdmn map search
Jan  1 01:00:45 TP-Link WR1043ND kern.debug kernel: [   35.960000] ath: country maps to regdmn code: 0x3a
Jan  1 01:00:45 TP-Link WR1043ND kern.debug kernel: [   35.960000] ath: Country alpha2 being used: US
Jan  1 01:00:45 TP-Link WR1043ND kern.debug kernel: [   35.960000] ath: Regpair used: 0x3a
Jan  1 01:00:45 TP-Link WR1043ND kern.debug kernel: [   35.980000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   35.980000] ieee80211 phy0: Atheros AR9100 MAC/BB Rev:7 AR2133 RF Rev:a2 mem=0xb80c0000, irq=2
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   35.990000] cfg80211: Calling CRDA for country: US
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   36.000000] cfg80211: Regulatory domain changed to country: US
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   36.000000] cfg80211:  DFS Master region: unset
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   36.010000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   36.020000] cfg80211:   (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   36.030000] cfg80211:   (5140000 KHz - 5860000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   36.410000] RPC: Registered named UNIX socket transport module.
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   36.410000] RPC: Registered udp transport module.
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   36.420000] RPC: Registered tcp transport module.
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   36.420000] RPC: Registered tcp NFSv4.1 backchannel transport module.
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   36.990000] PPP generic driver version 2.4.2
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   37.140000] tun: Universal TUN/TAP device driver, 1.6
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   37.150000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   37.280000] GRE over IPv4 demultiplexor driver
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   37.310000] GRE over IPv4 tunneling driver
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   37.690000] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   37.800000] ip_tables: (C) 2000-2006 Netfilter Core Team
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   38.400000] NET: Registered protocol family 24
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   38.570000] nf_conntrack version 0.5.0 (455 buckets, 1820 max)
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   39.070000] PPTP driver version 0.8.5
Jan  1 01:00:45 TP-Link WR1043ND kern.info kernel: [   40.010000] xt_time: kernel timezone is -0000
Jan  1 01:00:49 TP-Link WR1043ND kern.info kernel: [   49.360000] Adding 1048572k swap on /dev/sda2.  Priority:-1 extents:1 across:1048572k
Jan  1 01:00:52 TP-Link WR1043ND kern.debug kernel: [   52.450000] ar71xx: pll_reg 0xb8050014: 0x1a000000
Jan  1 01:00:52 TP-Link WR1043ND daemon.notice netifd: Interface 'lan' is now up
Jan  1 01:00:52 TP-Link WR1043ND daemon.notice netifd: Interface 'loopback' is now up
Jan  1 01:00:53 TP-Link WR1043ND user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_3.3.8_ehci_hcd Product=Generic_Platform_EHCI_Controller Serial=ehci-platform
Jan  1 01:00:53 TP-Link WR1043ND user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Jan  1 01:00:53 TP-Link WR1043ND daemon.notice netifd: wan (1085): udhcpc (v1.19.4) started
Jan  1 01:00:53 TP-Link WR1043ND kern.info kernel: [   52.750000] eth0: link up (1000Mbps/Full duplex)
Jan  1 01:00:53 TP-Link WR1043ND kern.info kernel: [   52.760000] device eth0.1 entered promiscuous mode
Jan  1 01:00:53 TP-Link WR1043ND kern.info kernel: [   52.760000] device eth0 entered promiscuous mode
Jan  1 01:00:53 TP-Link WR1043ND kern.info kernel: [   52.770000] br-lan: port 1(eth0.1) entered forwarding state
Jan  1 01:00:53 TP-Link WR1043ND kern.info kernel: [   52.780000] br-lan: port 1(eth0.1) entered forwarding state
Jan  1 01:00:53 TP-Link WR1043ND daemon.notice netifd: wan (1085): Sending discover...
Jan  1 01:00:53 TP-Link WR1043ND daemon.notice netifd: wan (1085): Sending select for 192.168.36.101...
Jan  1 01:00:53 TP-Link WR1043ND daemon.notice netifd: wan (1085): Lease of 192.168.36.101 obtained, lease time 259200
Jan  1 01:00:53 TP-Link WR1043ND daemon.notice netifd: Interface 'wan' is now up
Jan  1 01:00:53 TP-Link WR1043ND kern.info kernel: [   53.760000] ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
Jan  1 01:00:54 TP-Link WR1043ND kern.info kernel: [   54.780000] br-lan: port 1(eth0.1) entered forwarding state
Jan  1 01:00:58 TP-Link WR1043ND kern.info kernel: [   58.070000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Jan  1 01:00:58 TP-Link WR1043ND kern.info kernel: [   58.080000] device wlan0 entered promiscuous mode
Jan  1 01:00:58 TP-Link WR1043ND kern.info kernel: [   58.400000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:00:58 TP-Link WR1043ND kern.info kernel: [   58.410000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:00:58 TP-Link WR1043ND kern.info kernel: [   58.410000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Jan  1 01:01:00 TP-Link WR1043ND kern.info kernel: [   60.410000] br-lan: port 2(wlan0) entered forwarding state
Oct 30 00:11:59 TP-Link WR1043ND user.notice usb-modeswitch: 1-1:1.0: Manufacturer=? Product=USB_2.0_Hub Serial=?
Oct 30 00:12:00 TP-Link WR1043ND authpriv.info dropbear[1460]: Running in background
Oct 30 00:12:00 TP-Link WR1043ND user.notice usb-modeswitch: 1-1.2:1.0: Manufacturer=ADATA Product=ADATA_USB_Flash_Drive Serial=13B0706041590093
Oct 30 00:12:00 TP-Link WR1043ND daemon.crit httpd_gargoyle[1508]: bind 0.0.0.0 - Address already in use
Oct 30 00:12:00 TP-Link WR1043ND daemon.warn httpd_gargoyle[1510]: started as root without requesting chroot(), warning only
Oct 30 00:12:00 TP-Link WR1043ND daemon.notice httpd_gargoyle[1510]: httpd_gargoyle/1.0 14mar2008 starting on TP-Link WR1043ND, port 80
Oct 30 00:12:03 TP-Link WR1043ND kern.warn kernel: [   67.100000] disktype: sending ioctl 5305 to a partition!
Oct 30 00:12:03 TP-Link WR1043ND kern.warn kernel: [   67.110000] disktype: sending ioctl 5305 to a partition!
Oct 30 00:12:03 TP-Link WR1043ND kern.warn kernel: [   67.220000] disktype: sending ioctl 5305 to a partition!
Oct 30 00:12:03 TP-Link WR1043ND kern.warn kernel: [   67.220000] disktype: sending ioctl 5305 to a partition!
Oct 30 00:12:04 TP-Link WR1043ND kern.info kernel: [   67.570000] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
Oct 30 00:13:17 TP-Link WR1043ND user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Oct 30 00:13:17 TP-Link WR1043ND user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Oct 30 00:13:21 TP-Link WR1043ND daemon.info dnsmasq[2013]: started, version 2.66 cachesize 150
Oct 30 00:13:21 TP-Link WR1043ND daemon.info dnsmasq[2013]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth
Oct 30 00:13:21 TP-Link WR1043ND daemon.info dnsmasq-dhcp[2013]: DHCP, IP range 192.168.1.105 -- 192.168.1.249, lease time 2h
Oct 30 00:13:21 TP-Link WR1043ND daemon.info dnsmasq[2013]: using local addresses only for domain lan
Oct 30 00:13:21 TP-Link WR1043ND daemon.info dnsmasq[2013]: reading /tmp/resolv.conf.auto
Oct 30 00:13:21 TP-Link WR1043ND daemon.info dnsmasq[2013]: using nameserver 8.8.8.8#53
Oct 30 00:13:21 TP-Link WR1043ND daemon.info dnsmasq[2013]: using nameserver 213.199.225.14#53
Oct 30 00:13:21 TP-Link WR1043ND daemon.warn dnsmasq[2013]: ignoring nameserver 192.168.1.253 - local interface
Oct 30 00:13:21 TP-Link WR1043ND daemon.info dnsmasq[2013]: using local addresses only for domain lan
Oct 30 00:13:21 TP-Link WR1043ND daemon.info dnsmasq[2013]: read /etc/hosts - 7 addresses
Oct 30 00:13:21 TP-Link WR1043ND daemon.info dnsmasq-dhcp[2013]: read /etc/ethers - 5 addresses
Oct 30 00:13:21 TP-Link WR1043ND user.err syslog: error starting threads: errno 89 (Function not implemented)
Oct 30 00:13:21 TP-Link WR1043ND user.info sysinit: exportfs: could not open /var/lib/nfs/.etab.lock for locking: errno 2 (No such file or directory)
Oct 30 00:13:21 TP-Link WR1043ND user.info sysinit: exportfs: can't lock /var/lib/nfs/etab for writing
Oct 30 00:13:21 TP-Link WR1043ND user.info sysinit: exportfs: could not open /var/lib/nfs/.xtab.lock for locking: errno 2 (No such file or directory)
Oct 30 00:13:21 TP-Link WR1043ND user.info sysinit: exportfs: can't lock /var/lib/nfs/xtab for writing
Oct 30 00:13:26 TP-Link WR1043ND user.info sysinit: ERROR: No valid dynamic DNS service configurations defined
Oct 30 00:13:26 TP-Link WR1043ND user.info sysinit: (Did you specify correct configuration file path?)
Oct 30 00:13:26 TP-Link WR1043ND user.notice root: vsftpd init: mounted = 1
Oct 30 00:13:26 TP-Link WR1043ND user.notice root: vsftpd init: got_lock = 1
Oct 30 00:13:28 TP-Link WR1043ND daemon.info dnsmasq-dhcp[2013]: DHCPREQUEST(br-lan) 192.168.1.203 bc:5f:f4:3b:15:dc
Oct 30 00:13:28 TP-Link WR1043ND daemon.info dnsmasq-dhcp[2013]: DHCPACK(br-lan) 192.168.1.203 bc:5f:f4:3b:15:dc ToXiC-PC
Oct 30 00:13:28 TP-Link WR1043ND daemon.warn dnsmasq-dhcp[2013]: not giving name ToXiC-PC.lan to the DHCP lease of 192.168.1.203 because the name exists in /etc/hosts with address 192.168.2.100
Oct 30 00:13:28 TP-Link WR1043ND daemon.warn dnsmasq-dhcp[2013]: not giving name ToXiC-PC to the DHCP lease of 192.168.1.203 because the name exists in /etc/hosts with address 192.168.2.100
Oct 30 00:13:28 TP-Link WR1043ND user.info sysinit: RTNETLINK answers: No such file or directory
Oct 30 00:13:29 TP-Link WR1043ND user.info sysinit: setting up led USB
Oct 30 00:13:29 TP-Link WR1043ND user.info sysinit: setting up led WLAN
Oct 30 00:13:32 TP-Link WR1043ND daemon.info dnsmasq-dhcp[2013]: DHCPINFORM(br-lan) 192.168.1.203 bc:5f:f4:3b:15:dc
Oct 30 00:13:32 TP-Link WR1043ND daemon.info dnsmasq-dhcp[2013]: DHCPACK(br-lan) 192.168.1.203 bc:5f:f4:3b:15:dc ToXiC-PC
Oct 30 00:13:35 TP-Link WR1043ND daemon.notice miniupnpd[2575]: HTTP listening on port 5000
Oct 30 00:13:35 TP-Link WR1043ND daemon.notice miniupnpd[2575]: Listening for NAT-PMP traffic on port 5351
Oct 30 00:13:35 TP-Link WR1043ND user.notice firewall: Reloading firewall due to ifup of wan (eth0.2)
Oct 30 00:13:40 TP-Link WR1043ND kern.warn kernel: [   92.860000] disktype: sending ioctl 5305 to a partition!
Oct 30 00:13:40 TP-Link WR1043ND kern.warn kernel: [   92.860000] disktype: sending ioctl 5305 to a partition!
Oct 30 00:13:40 TP-Link WR1043ND kern.info kernel: [   92.960000] Adding 1048572k swap on /dev/sda2.  Priority:-1 extents:1 across:1048572k
Oct 30 00:13:40 TP-Link WR1043ND kern.warn kernel: [   93.020000] disktype: sending ioctl 5305 to a partition!
Oct 30 00:13:40 TP-Link WR1043ND kern.warn kernel: [   93.020000] disktype: sending ioctl 5305 to a partition!
Oct 30 00:13:43 TP-Link WR1043ND kern.warn kernel: [   95.850000] disktype: sending ioctl 5305 to a partition!
Oct 30 00:13:43 TP-Link WR1043ND kern.warn kernel: [   95.850000] disktype: sending ioctl 5305 to a partition!
Oct 30 00:13:43 TP-Link WR1043ND kern.info kernel: [   95.950000] Adding 1048572k swap on /dev/sda2.  Priority:-1 extents:1 across:1048572k
Oct 30 00:13:43 TP-Link WR1043ND kern.warn kernel: [   96.000000] disktype: sending ioctl 5305 to a partition!
Oct 30 00:13:43 TP-Link WR1043ND kern.warn kernel: [   96.010000] disktype: sending ioctl 5305 to a partition!
Oct 30 00:13:47 TP-Link WR1043ND kern.warn kernel: [  100.590000] disktype: sending ioctl 5305 to a partition!
Oct 30 00:13:47 TP-Link WR1043ND kern.warn kernel: [  100.590000] disktype: sending ioctl 5305 to a partition!
Oct 30 00:13:47 TP-Link WR1043ND kern.info kernel: [  100.630000] Adding 1048572k swap on /dev/sda2.  Priority:-1 extents:1 across:1048572k
Oct 30 00:13:47 TP-Link WR1043ND kern.warn kernel: [  100.690000] disktype: sending ioctl 5305 to a partition!
Oct 30 00:13:47 TP-Link WR1043ND kern.warn kernel: [  100.690000] disktype: sending ioctl 5305 to a partition!
Oct 30 00:13:50 TP-Link WR1043ND kern.warn kernel: [  103.320000] disktype: sending ioctl 5305 to a partition!
Oct 30 00:13:50 TP-Link WR1043ND kern.warn kernel: [  103.320000] disktype: sending ioctl 5305 to a partition!
Oct 30 00:13:50 TP-Link WR1043ND kern.info kernel: [  103.360000] Adding 1048572k swap on /dev/sda2.  Priority:-1 extents:1 across:1048572k
Oct 30 00:13:50 TP-Link WR1043ND kern.warn kernel: [  103.420000] disktype: sending ioctl 5305 to a partition!
Oct 30 00:13:50 TP-Link WR1043ND kern.warn kernel: [  103.420000] disktype: sending ioctl 5305 to a partition!
Oct 30 00:13:53 TP-Link WR1043ND authpriv.info dropbear[3466]: Child connection from 192.168.1.203:53497
Oct 30 00:13:56 TP-Link WR1043ND authpriv.notice dropbear[3466]: Password auth succeeded for 'root' from 192.168.1.203:53497
Oct 30 00:14:30 TP-Link WR1043ND kern.warn kernel: [  143.020000] ipt_bandwidth: timezone shift of 60 minutes detected, adjusting
Oct 30 00:14:30 TP-Link WR1043ND kern.warn kernel: [  143.030000]                old minutes west=0, new minutes west=-60
Oct 30 00:14:32 TP-Link WR1043ND authpriv.info dropbear[4135]: Child connection from 192.168.1.203:53507
Oct 30 00:14:44 TP-Link WR1043ND authpriv.warn dropbear[4135]: Bad password attempt for 'root' from 192.168.1.203:53507
Oct 30 00:14:48 TP-Link WR1043ND authpriv.notice dropbear[4135]: Password auth succeeded for 'root' from 192.168.1.203:53507
Oct 30 00:14:59 TP-Link WR1043ND daemon.notice miniupnpd[4296]: HTTP listening on port 5000
Oct 30 00:14:59 TP-Link WR1043ND daemon.notice miniupnpd[4296]: Listening for NAT-PMP traffic on port 5351
Oct 30 00:15:10 TP-Link WR1043ND daemon.info dnsmasq-dhcp[2013]: DHCPINFORM(br-lan) 192.168.1.203 bc:5f:f4:3b:15:dc
Oct 30 00:15:10 TP-Link WR1043ND daemon.info dnsmasq-dhcp[2013]: DHCPACK(br-lan) 192.168.1.203 bc:5f:f4:3b:15:dc ToXiC-PC
Oct 30 00:16:13 TP-Link WR1043ND authpriv.info dropbear[4406]: Child connection from 192.168.1.203:53547
Oct 30 00:16:26 TP-Link WR1043ND authpriv.notice dropbear[4406]: Password auth succeeded for 'root' from 192.168.1.203:53547

4

Odp: Zdalny dostęp do routera

Ale gdzie ustawionych? Na ap? Nie będzie przydzielał, bo wyłączyłeś. Wszystkie żądania dhcp idzą do głównego routera i ap nic do nich nie ma.

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

5

Odp: Zdalny dostęp do routera

Nie uzywam ap, wszystko sie dzieje na głównym routerze. W GUI DHCP jest włączone, a adresy statyczne są dodane do /etc/hosts i też sie w GUI pokazują.

6

Odp: Zdalny dostęp do routera

Zgubiłem się smile Piszesz że ustawiłeś wszystko tak ja wyżej, czyli dotyczy to ap, a ja napisałem ze ap wtedy nie nic wspólnego z dhcp.

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

7

Odp: Zdalny dostęp do routera

Ja chyba też poniekąd smile. Nie rozumiem jednego, wcześniej wszystko przydzielało dobrze, a teraz po zmianie

Adres IP LAN:192.168.1.254

na

Adres IP LAN:192.168.1.253

oraz komputerów na 192.168.2.100 itd. przestało poprawnie przydzielać adresy po DHCP. Moje urządzenia w domu to zasilacz antenowy PPPoE oraz router WR1043ND, który rozsyła sygnał na cały dom. Na obydwu urządzeniach jest włączony DHCP, z czego na zasilaczu nie mogę nic skonfigurować ze względu na zabezpieczenie ISP hasłem.
Pozdrawiam,

8

Odp: Zdalny dostęp do routera

I ten 1043 jako ap właśnie masz ustawiony?

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

9

Odp: Zdalny dostęp do routera

Mam go ustawionego jako bramę + AP. Jeden komp przewodowo a reszta po wifi.
Pozdrawiam i proszę o pomoc,

10

Odp: Zdalny dostęp do routera

Udało mi się dojść do rozwiązania problemu ze złym przydzielaniem adresów przez DHCP. Problemem było to, że adresy IP były w innym zakresie, puli? Tak to mogę nazwać? Chodzi o to, że adresy IP komputerów były 192.168.2.100 i dalej a adres IP urządzenia(bramy) był 192.168.1.253 i to powodowało problemy. Ale powraca problem z tematu, nadal nie mogę się dostać do routera z zewnątrz. Jest jakaś możliwość sprawdzenia gdzie pakiety się zatrzymują? Pingować oraz badać mogę, wysyłam pakiety i odbieram lecz pokazuje się informacja, że host jest nieosiągalny.

11

Odp: Zdalny dostęp do routera

Ten ap? ustaw także w nim bramę poprawnie, nie tylko adres ip.

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

12

Odp: Zdalny dostęp do routera

Co masz na myśli pisząc poprawnie? Adres MAC? Adres AP mam ustawiony jako 192.168.1.253, ponieważ na ten adres niby ISP przekierowal wszystkie porty.

13

Odp: Zdalny dostęp do routera

I ustaw gatewaya, bo pewnie ustawiłeś sam adres, ale bramy nie i nie ma trasy domyślnej.

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

14

Odp: Zdalny dostęp do routera

Tak to wszystko ustawiłem:

cat /etc/config/network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config interface 'lan'
        option ifname 'eth0.1'
        option type 'bridge'
        option proto 'static'
        option netmask '255.255.255.0'
        option dns '192.168.1.253'
        option ipaddr '192.168.1.253'

config interface 'wan'
        option type 'bridge'
        option proto 'static'
        option ipaddr '192.168.36.100'
        option netmask '255.255.255.0'
        option gateway '192.168.36.254'
        option dns '213.199.225.14'
        option ifname 'eth0.2'

config switch
        option name 'rtl8366rb'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'rtl8366rb'
        option vlan '1'
        option ports '1 2 3 4 5t'

config switch_vlan
        option device 'rtl8366rb'
        option vlan '2'
        option ports '0 5t'

A tak wygląda mój routing:

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.36.254  0.0.0.0         UG    0      0        0 br-wan
192.168.1.0     *               255.255.255.0   U     0      0        0 br-lan
192.168.36.0    *               255.255.255.0   U     0      0        0 br-wan

A tego gatewaya mam w lanie dodac? Jak ustawić te trasy?

15

Odp: Zdalny dostęp do routera

Ale co niby ustawiłeś? Jeżeli podłączyłeś go kablem pod lan bo tam ustawiłeś 192.168.1.253 to wan nie bierze udziału w transmisji. Więc ustawienie tam czegokolwiek w tym bramy i trasy domyślnej przez niego jest bez sensu przecież.

Jeszcze raz: jak to fizycznie podłączyłeś w końcu?

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

16

Odp: Zdalny dostęp do routera

Antena > zasilacz > router z AP(WR1043ND v1) > Pc. W routerze wszystko ustawialem tak jak pokazalem w network. Router ma adres 192.168.1.253, a WAN ustawiłem na staly adres pomijajac DHCP z zewnatrz. A PC pobiera adresy nadane przez DHCP na routerze. Tak to wszystko wyglada. A ten zasilacz to cos takiego:
http://antenki.eu/images/towary/thumbnails/poe_adapter_kostka.jpg.thumb_150x96.jpg

17

Odp: Zdalny dostęp do routera

Ale kabel pod co podłączyłeś? pod lan czy pod wan 1043?

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

18

Odp: Zdalny dostęp do routera

W routerze do WAN idzie kabel od zasilacza, a do LAN mam podlaczone PC.

19

Odp: Zdalny dostęp do routera

No to źle coś masz, bo 192.168.1.253  powinien być ustawiony na wanie ustawiony.

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