1 (edytowany przez Mess 2010-11-13 19:49:09)

Temat: TP-LINK 1043nd - problem z DHCP, WiFi, Printserver

Witam,
OpenWrt jest mi niestety nowe i po przeczesywaniu googli i eko.one.pl, dalej nie wiem co zrobić.
Zasadniczo infrastruktura sieciowa wygląda tak:
Internet z kablówki (przez Cisco jakieś) do TP-Linka od niego na komputery + Airport Express (który tworzy sieć Wi-Fi).
Na TP linku jest Luci (OpenWrt Backfire 10.03).
wan pobiera sobie dhcp adres, lan ma postawiony serwer z wyłączeniem interfejsu wanowego.
Teraz tak dhcp zasadniczo daje automatycznie adresy + jest lista statycznych wpisów po mac adresach dodana, wszystko chodziło ładnie do dziś jak dołączyłem dodatkowy komputer dorzuciłem mu static leasa i save+apply i dhcp przestał działać.

Pytanie gdzie szukać przyczyny?
Znacie jakiś poradnik jakie polecenia przyjmuje openwrt (help po ssh, nie wyświetla wszystkich).
Jak ustawić wi-fi na tp-linku by pracowało jako reapeter (lub inne ustrojstwo ale ma tylko rozszerzać zasięg sieci).

2

Odp: TP-LINK 1043nd - problem z DHCP, WiFi, Printserver

Na tplinku? W sumie nie da się tak prosto, tryby pracy masz tutaj: http://eko.one.pl/?p=openwrt-ath9k

Wszystkie polecenia masz w

ls /bin /sbin /usr/bin /usr/sbin

To są typowo linuksowe rzeczy, więc w googlach znajdziesz ich opis (w szczególności dokumentacja busyboxa).

logread poda Ci log systemowy, być może tam będzie coś. I sprawdź czy nie zrobiłeś literówki po prostu gdzieś.

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

3

Odp: TP-LINK 1043nd - problem z DHCP, WiFi, Printserver

Sep 11 08:21:00 OpenWrt user.info kernel: TCP established hash table entries: 1024 (order: 1, 8192 bytes)
Sep 11 08:21:00 OpenWrt user.info kernel: TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Sep 11 08:21:00 OpenWrt user.info kernel: TCP: Hash tables configured (established 1024 bind 1024)
Sep 11 08:21:00 OpenWrt user.info kernel: TCP reno registered
Sep 11 08:21:00 OpenWrt user.info kernel: NET: Registered protocol family 1
Sep 11 08:21:00 OpenWrt user.info kernel: squashfs: version 4.0 (2009/01/31) Phillip Lougher
Sep 11 08:21:00 OpenWrt user.warn kernel: Registering mini_fo version $Id$
Sep 11 08:21:00 OpenWrt user.info kernel: JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
Sep 11 08:21:00 OpenWrt user.warn kernel: yaffs Sep 11 2010 08:58:10 Installing. 
Sep 11 08:21:00 OpenWrt user.info kernel: msgmni has been set to 57
Sep 11 08:21:00 OpenWrt user.info kernel: io scheduler noop registered
Sep 11 08:21:00 OpenWrt user.info kernel: io scheduler deadline registered (default)
Sep 11 08:21:00 OpenWrt user.info kernel: Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
Sep 11 08:21:00 OpenWrt user.info kernel: serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
Sep 11 08:21:00 OpenWrt user.info kernel: console [ttyS0] enabled, bootconsole disabled
Sep 11 08:21:00 OpenWrt user.info kernel: Atheros AR71xx SPI Controller driver version 0.2.4
Sep 11 08:21:00 OpenWrt user.info kernel: m25p80 spi0.0: s25sl064a (8192 Kbytes)
Sep 11 08:21:00 OpenWrt user.debug kernel: spi0.0: searching for MyLoader partition table at offset 0x10000
Sep 11 08:21:00 OpenWrt user.debug kernel: spi0.0: searching for MyLoader partition table at offset 0x20000
Sep 11 08:21:00 OpenWrt user.debug kernel: spi0.0: searching for MyLoader partition table at offset 0x30000
Sep 11 08:21:00 OpenWrt user.debug kernel: spi0.0: searching for MyLoader partition table at offset 0x40000
Sep 11 08:21:00 OpenWrt user.debug kernel: spi0.0: no MyLoader partition table found
Sep 11 08:21:00 OpenWrt user.notice kernel: Searching for RedBoot partition table in spi0.0 at offset 0x7e0000
Sep 11 08:21:00 OpenWrt user.notice kernel: Searching for RedBoot partition table in spi0.0 at offset 0x7f0000
Sep 11 08:21:00 OpenWrt user.notice kernel: No RedBoot partition table detected in spi0.0
Sep 11 08:21:00 OpenWrt user.notice kernel: spi0.0: no WRT160NL signature found
Sep 11 08:21:00 OpenWrt user.notice kernel: Creating 5 MTD partitions on "spi0.0":
Sep 11 08:21:00 OpenWrt user.notice kernel: 0x000000000000-0x000000020000 : "u-boot"
Sep 11 08:21:00 OpenWrt user.notice kernel: 0x000000020000-0x000000160000 : "kernel"
Sep 11 08:21:00 OpenWrt user.notice kernel: 0x000000160000-0x0000007f0000 : "rootfs"
Sep 11 08:21:00 OpenWrt user.notice kernel: mtd: partition "rootfs" set to be root filesystem
Sep 11 08:21:00 OpenWrt user.info kernel: mtd: partition "rootfs_data" created automatically, ofs=480000, len=370000 
Sep 11 08:21:00 OpenWrt user.notice kernel: 0x000000480000-0x0000007f0000 : "rootfs_data"
Sep 11 08:21:00 OpenWrt user.notice kernel: 0x0000007f0000-0x000000800000 : "art"
Sep 11 08:21:00 OpenWrt user.notice kernel: 0x000000020000-0x0000007f0000 : "firmware"
Sep 11 08:21:00 OpenWrt user.notice kernel: Realtek RTL8366RB ethernet switch driver version 0.2.2
Sep 11 08:21:00 OpenWrt user.info kernel: rtl8366rb rtl8366rb: using GPIO pins 18 (SDA) and 19 (SCK)
Sep 11 08:21:00 OpenWrt user.info kernel: rtl8366rb rtl8366rb: RTL5937 ver. 3 chip found
Sep 11 08:21:00 OpenWrt user.info kernel: rtl8366rb: probed
Sep 11 08:21:00 OpenWrt user.info kernel: eth0: Atheros AG71xx at 0xb9000000, irq 4
Sep 11 08:21:00 OpenWrt user.debug kernel: eth0: using fixed link parameters
Sep 11 08:21:00 OpenWrt user.info kernel: Atheros AR71xx hardware watchdog driver version 0.1.0
Sep 11 08:21:00 OpenWrt user.debug kernel: ar71xx-wdt: timeout=15 secs (max=21)
Sep 11 08:21:00 OpenWrt user.info kernel: TCP westwood registered
Sep 11 08:21:00 OpenWrt user.info kernel: NET: Registered protocol family 17
Sep 11 08:21:00 OpenWrt user.info kernel: 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
Sep 11 08:21:00 OpenWrt user.info kernel: All bugs added by David S. Miller <davem@redhat.com>
Sep 11 08:21:00 OpenWrt user.warn kernel: VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Sep 11 08:21:00 OpenWrt user.info kernel: Freeing unused kernel memory: 152k freed
Sep 11 08:21:00 OpenWrt user.warn kernel: Please be patient, while OpenWrt loads ...
Sep 11 08:21:00 OpenWrt user.info kernel: gpio-buttons driver version 0.1.2
Sep 11 08:21:00 OpenWrt user.info kernel: input: gpio-buttons as /devices/platform/gpio-buttons/input/input0
Sep 11 08:21:00 OpenWrt user.info kernel: Button Hotplug driver version 0.3.1
Sep 11 08:21:00 OpenWrt user.debug kernel: ar71xx: pll_reg 0xb8050014: 0x1a000000
Sep 11 08:21:00 OpenWrt user.info kernel: eth0: link up (1000Mbps/Full duplex)
Sep 11 08:21:00 OpenWrt user.info kernel: Registered led device: tl-wr1043nd:green:usb
Sep 11 08:21:00 OpenWrt user.info kernel: Registered led device: tl-wr1043nd:green:system
Sep 11 08:21:00 OpenWrt user.info kernel: Registered led device: tl-wr1043nd:green:qss
Sep 11 08:21:00 OpenWrt user.info kernel: Registered led device: tl-wr1043nd:green:wlan
Sep 11 08:21:00 OpenWrt user.info kernel: mini_fo: using base directory: /
Sep 11 08:21:00 OpenWrt user.info kernel: mini_fo: using storage directory: /overlay
Sep 11 08:21:00 OpenWrt user.info kernel: eth0: link down
Sep 11 08:21:01 OpenWrt user.debug kernel: ar71xx: pll_reg 0xb8050014: 0x1a000000
Sep 11 08:21:01 OpenWrt user.info kernel: eth0: link up (1000Mbps/Full duplex)
Sep 11 08:21:01 OpenWrt user.info kernel: device eth0.1 entered promiscuous mode
Sep 11 08:21:01 OpenWrt user.info kernel: device eth0 entered promiscuous mode
Sep 11 08:21:01 OpenWrt user.info kernel: br-lan: port 1(eth0.1) entering forwarding state
Sep 11 08:21:01 OpenWrt user.info kernel: br-lan: starting userspace STP failed, starting kernel STP
Sep 11 08:21:01 OpenWrt user.info kernel: Compat-wireless backport release: compat-wireless-2010-07-13-4-g04898a5
Sep 11 08:21:01 OpenWrt user.info kernel: Backport based on wireless-2.6.git v2.6.35-rc6-48432-gdce358e
Sep 11 08:21:02 OpenWrt user.info kernel: device eth0.2 entered promiscuous mode
Sep 11 08:21:02 OpenWrt user.info kernel: br-wan: port 1(eth0.2) entering forwarding state
Sep 11 08:21:02 OpenWrt user.info kernel: cfg80211: Calling CRDA to update world regulatory domain
Sep 11 08:21:03 OpenWrt user.notice kernel: SCSI subsystem initialized
Sep 11 08:21:03 OpenWrt user.info sysinit: 0.openwrt.pool.ntp.org: Unknown host
Sep 11 08:21:03 OpenWrt user.info sysinit: 1.openwrt.pool.ntp.org: Unknown host
Sep 11 08:21:03 OpenWrt user.info sysinit: 2.openwrt.pool.ntp.org: Unknown host
Sep 11 08:21:03 OpenWrt user.info sysinit: 3.openwrt.pool.ntp.org: Unknown host
Sep 11 08:21:04 OpenWrt user.info kernel: usbcore: registered new interface driver usbfs
Sep 11 08:21:04 OpenWrt user.info kernel: usbcore: registered new interface driver hub
Sep 11 08:21:04 OpenWrt user.info kernel: usbcore: registered new device driver usb
Sep 11 08:21:07 OpenWrt user.debug kernel: phy0: Selected rate control algorithm 'minstrel_ht'
Sep 11 08:21:07 OpenWrt user.info kernel: phy0: Atheros AR9100 MAC/BB Rev:0 AR2133 RF Rev:a2 mem=0xb80c0000, irq=2
Sep 11 08:21:07 OpenWrt user.info kernel: cfg80211: World regulatory domain updated:
Sep 11 08:21:07 OpenWrt user.info kernel:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Sep 11 08:21:07 OpenWrt user.info kernel:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Sep 11 08:21:07 OpenWrt user.info kernel:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Sep 11 08:21:07 OpenWrt user.info kernel:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Sep 11 08:21:07 OpenWrt user.info kernel:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Sep 11 08:21:07 OpenWrt user.info kernel:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Sep 11 08:21:08 OpenWrt user.info kernel: PPP generic driver version 2.4.2
Sep 11 08:21:09 OpenWrt user.info kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Sep 11 08:21:09 OpenWrt user.info kernel: NET: Registered protocol family 24
Sep 11 08:21:10 OpenWrt user.info kernel: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Sep 11 08:21:10 OpenWrt user.info kernel: ar71xx-ehci ar71xx-ehci: Atheros AR91xx built-in EHCI controller
Sep 11 08:21:10 OpenWrt user.info kernel: ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1
Sep 11 08:21:10 OpenWrt user.info kernel: ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000
Sep 11 08:21:10 OpenWrt user.info kernel: ar71xx-ehci ar71xx-ehci: USB 2.0 started, EHCI 1.00
Sep 11 08:21:10 OpenWrt user.info kernel: usb usb1: configuration #1 chosen from 1 choice
Sep 11 08:21:10 OpenWrt user.info kernel: hub 1-0:1.0: USB hub found
Sep 11 08:21:10 OpenWrt user.info kernel: hub 1-0:1.0: 1 port detected
Sep 11 08:21:10 OpenWrt user.warn kernel: nf_conntrack version 0.5.0 (460 buckets, 1840 max)
Sep 11 08:21:10 OpenWrt user.warn kernel: CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
Sep 11 08:21:10 OpenWrt user.warn kernel: nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
Sep 11 08:21:10 OpenWrt user.warn kernel: sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
Sep 11 08:21:10 OpenWrt user.info kernel: usb 1-1: new full speed USB device using ar71xx-ehci and address 2
Sep 11 08:21:10 OpenWrt user.info kernel: usb 1-1: configuration #1 chosen from 1 choice
Sep 11 08:21:10 OpenWrt user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_2.6.32.16_ehci_hcd Product=Atheros_AR91xx_built-in_EHCI_controller Serial=ar71xx-ehci
Sep 11 08:21:11 OpenWrt user.notice usb-modeswitch: 1-1:1.0: Manufacturer=Hewlett-Packard Product=DeskJet_930C Serial=ES0551C16RJJ
Sep 11 08:21:11 OpenWrt user.info kernel: usblp0: USB Bidirectional printer dev 2 if 0 alt 1 proto 2 vid 0x03F0 pid 0x1204
Sep 11 08:21:11 OpenWrt user.info kernel: usbcore: registered new interface driver usblp
Sep 11 08:21:12 OpenWrt user.info kernel: usbcore: registered new interface driver usbserial
Sep 11 08:21:12 OpenWrt user.info kernel: USB Serial support registered for generic
Sep 11 08:21:12 OpenWrt user.info kernel: usbcore: registered new interface driver usbserial_generic
Sep 11 08:21:12 OpenWrt user.info kernel: usbserial: USB Serial Driver core
Sep 11 08:21:12 OpenWrt user.info kernel: Initializing USB Mass Storage driver...
Sep 11 08:21:12 OpenWrt user.info kernel: usbcore: registered new interface driver usb-storage
Sep 11 08:21:12 OpenWrt user.info kernel: USB Mass Storage support registered.
Sep 11 08:21:12 OpenWrt user.info kernel: USB Serial support registered for GSM modem (1-port)
Sep 11 08:21:12 OpenWrt user.info kernel: usbcore: registered new interface driver option
Sep 11 08:21:12 OpenWrt user.info kernel: option: v0.7.2:USB Driver for GSM modems
Sep 11 08:21:12 OpenWrt user.info kernel: USB Serial support registered for Sierra USB modem
Sep 11 08:21:12 OpenWrt user.info kernel: usbcore: registered new interface driver sierra
Sep 11 08:21:12 OpenWrt user.info kernel: sierra: v.1.3.8:USB Driver for Sierra Wireless USB modems
Sep 11 08:21:12 OpenWrt user.info kernel: fuse init (API version 7.13)
Sep 11 08:21:13 OpenWrt user.info sysinit: 'radio0' is disabled
Sep 11 08:21:13 OpenWrt user.info sysinit: 'radio0' is disabled
Sep 11 08:21:14 OpenWrt user.info sysinit: Loading defaults
Sep 11 08:21:14 OpenWrt user.info sysinit: Loading synflood protection
Sep 11 08:21:14 OpenWrt user.info sysinit: Adding custom chains
Sep 11 08:21:15 OpenWrt user.info sysinit: Loading zones
Sep 11 08:21:16 OpenWrt user.info sysinit: Loading forwarding
Sep 11 08:21:16 OpenWrt user.info sysinit: Loading redirects
Sep 11 08:21:16 OpenWrt user.info sysinit: Loading rules
Sep 11 08:21:16 OpenWrt user.info sysinit: Loading includes
Sep 11 08:21:16 OpenWrt user.info sysinit: Loading zone defaults
Sep 11 08:21:17 OpenWrt user.notice root: starting ntpclient
Sep 11 08:21:17 OpenWrt user.notice root: adding lan (br-lan) to firewall zone lan
Nov 13 19:29:00 OpenWrt user.notice rdate: Failed to sync with ac-ntp0.net.cmu.edu
Nov 13 19:29:00 OpenWrt user.notice root: adding wan (br-wan) to firewall zone wan
Nov 13 19:29:00 OpenWrt user.notice rdate: Failed to sync with ac-ntp0.net.cmu.edu
Nov 13 19:29:01 OpenWrt user.notice rdate: Failed to sync with ac-ntp0.net.cmu.edu
Nov 13 19:29:01 OpenWrt authpriv.info dropbear[1289]: Running in background
Nov 13 19:29:01 OpenWrt lpr.err p9109d[1292]: socket: Address family not supported by protocol
Nov 13 19:29:05 OpenWrt user.info sysinit: dnsmasq: bad command line options: bad DHCP host name
Nov 13 19:29:05 OpenWrt daemon.crit dnsmasq[1325]: bad command line options: bad DHCP host name
Nov 13 19:29:05 OpenWrt daemon.crit dnsmasq[1325]: FAILED to start up
Nov 13 19:29:08 OpenWrt user.info sysinit: setting up led WLAN
Nov 13 19:29:08 OpenWrt user.debug kernel: ar71xx-wdt: enabling watchdog timer
Nov 13 19:30:47 OpenWrt authpriv.info dropbear[1368]: Child connection from 10.0.0.3:60416
Nov 13 19:30:49 OpenWrt authpriv.notice dropbear[1368]: password auth succeeded for 'root' from 10.0.0.3:60416
Nov 13 19:31:20 OpenWrt daemon.info dnsmasq[1381]: started, version 2.55 cachesize 150
Nov 13 19:31:20 OpenWrt daemon.info dnsmasq[1381]: compile time options: IPv6 GNU-getopt no-DBus no-I18N DHCP TFTP
Nov 13 19:31:20 OpenWrt daemon.info dnsmasq[1381]: reading /etc/resolv.conf
Nov 13 19:31:20 OpenWrt daemon.info dnsmasq[1381]: using nameserver 89.228.7.226#53
Nov 13 19:31:20 OpenWrt daemon.info dnsmasq[1381]: using nameserver 217.172.224.160#53
Nov 13 19:31:20 OpenWrt daemon.info dnsmasq[1381]: read /etc/hosts - 1 addresses
Nov 13 19:35:03 OpenWrt user.notice root: stopping ntpclient
Nov 13 19:35:03 OpenWrt daemon.warn dnsmasq[1381]: failed to access /etc/resolv.conf: No such file or directory
Nov 13 19:35:04 OpenWrt user.info kernel: br-lan: port 1(eth0.1) entering disabled state
Nov 13 19:35:04 OpenWrt user.info kernel: device eth0.1 left promiscuous mode
Nov 13 19:35:04 OpenWrt user.info kernel: br-lan: port 1(eth0.1) entering disabled state
Nov 13 19:35:06 OpenWrt user.info kernel: br-wan: port 1(eth0.2) entering disabled state
Nov 13 19:35:06 OpenWrt user.info kernel: device eth0 left promiscuous mode
Nov 13 19:35:06 OpenWrt user.info kernel: device eth0.2 left promiscuous mode
Nov 13 19:35:06 OpenWrt user.info kernel: br-wan: port 1(eth0.2) entering disabled state
Nov 13 19:35:08 OpenWrt user.info kernel: device eth0.1 entered promiscuous mode
Nov 13 19:35:08 OpenWrt user.info kernel: device eth0 entered promiscuous mode
Nov 13 19:35:08 OpenWrt user.info kernel: br-lan: port 1(eth0.1) entering forwarding state
Nov 13 19:35:09 OpenWrt user.info kernel: device eth0.2 entered promiscuous mode
Nov 13 19:35:09 OpenWrt user.info kernel: br-wan: port 1(eth0.2) entering forwarding state
Nov 13 19:35:14 OpenWrt user.notice root: starting ntpclient
Nov 13 19:35:15 OpenWrt user.notice rdate: Synced with cudns.cit.cornell.edu
Nov 13 19:35:30 OpenWrt daemon.info dnsmasq[1381]: reading /etc/resolv.conf
Nov 13 19:35:30 OpenWrt daemon.info dnsmasq[1381]: using nameserver 89.228.7.226#53
Nov 13 19:35:30 OpenWrt daemon.info dnsmasq[1381]: using nameserver 217.172.224.160#53
Nov 13 19:35:30 OpenWrt daemon.info dnsmasq[1381]: exiting on receipt of SIGTERM
Nov 13 19:35:33 OpenWrt daemon.crit dnsmasq[2368]: bad command line options: bad DHCP host name
Nov 13 19:35:33 OpenWrt daemon.crit dnsmasq[2368]: FAILED to start up
Nov 13 19:37:45 OpenWrt user.notice root: adding lan (br-lan) to firewall zone lan
Nov 13 19:37:45 OpenWrt user.notice root: adding wan (br-wan) to firewall zone wan
Nov 13 19:51:06 OpenWrt authpriv.info dropbear[2794]: Child connection from 10.0.0.3:62216
Nov 13 19:51:08 OpenWrt authpriv.notice dropbear[2794]: password auth succeeded for 'root' from 10.0.0.3:62216
Nov 13 19:51:50 OpenWrt lpr.err p9100d[2818]: socket: Address family not supported by protocol

Mógł byś zerknąć gdzie coś mogło się wkraść?

4

Odp: TP-LINK 1043nd - problem z DHCP, WiFi, Printserver

bad command line options: bad DHCP host name

Masz bład w nazwie hosta. Pokaż co tam wpisałeś.

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

5 (edytowany przez Mess 2010-11-13 20:13:45)

Odp: TP-LINK 1043nd - problem z DHCP, WiFi, Printserver

Ech no tak wykazałem się inteligęcją otoczaka...
Polskie znaki w nazwie hosta tongue
Dzięki za pomoc big_smile co do ustawień ap to się pobawię jutro.

Jakieś sugestie co ruszyć przy printservie na bazie p910nd, poza info w poradniku odnośnie doinstalowywanych paczek. port /dev/lp0.
Zasadniczo nie znajdują drukarki kompy w sieci. OS-X też ją odrzuca.

6

Odp: TP-LINK 1043nd - problem z DHCP, WiFi, Printserver

W sumie to nie wiele możesz zrobić. Po za tym że
a). lsmod i zobacz czy masz moduł usblp.
b) ps i zobacz czy p910nd się uruchomił.

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

7 (edytowany przez Mess 2010-11-13 20:52:47)

Odp: TP-LINK 1043nd - problem z DHCP, WiFi, Printserver

Drukareczka to zwykły stary  HP 930 C podłączana USBkiem.
w lsmod jest moduł usblp
w ps brak p910nd

Jakieś sugestie gdzie szukać problemu?

8

Odp: TP-LINK 1043nd - problem z DHCP, WiFi, Printserver

zainstalować p910nd smile

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

9 (edytowany przez Mess 2010-11-13 21:15:13)

Odp: TP-LINK 1043nd - problem z DHCP, WiFi, Printserver

hmm w gui jest;) a w ps-ie nima:)

10

Odp: TP-LINK 1043nd - problem z DHCP, WiFi, Printserver

To znaczy że sie nie uruchamia.

uci set p910nd.@p910nd[0].enabled=1
uci commit p910nd
/etc/init.d/p910nd start

zrobiłeś?

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

11

Odp: TP-LINK 1043nd - problem z DHCP, WiFi, Printserver

Zawartość ps:

  PID USER       VSZ STAT COMMAND
    1 root      1364 S    init       
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    4 root         0 SW   [events/0]
    5 root         0 SW   [khelper]
    8 root         0 SW   [async/mgr]
   41 root         0 SW   [sync_supers]
   43 root         0 SW   [bdi-default]
   45 root         0 SW   [kblockd/0]
   70 root         0 SW   [kswapd0]
   71 root         0 SW   [aio/0]
   72 root         0 SW   [crypto/0]
   84 root         0 SW   [mtdblockd]
   90 root         0 SW   [ar71xx-spi]
  225 root         0 SW   [ipolldevd]
  280 root         0 SWN  [jffs2_gcd_mtd3]
  296 root      1364 S    init       
  315 root      1368 S    syslogd -C16 
  317 root      1352 S    klogd 
  331 root       780 S    /sbin/hotplug2 --override --persistent --set-worker /
  496 root         0 SW   [cfg80211]
  540 root         0 SW   [khubd]
  667 root         0 SW   [phy0]
 1171 root      1136 S    /usr/sbin/dropbear -p 22 -P /var/run/dropbear.1.pid 
 1178 root       744 S    /usr/sbin/p9100d -b -f /dev/lp0 0 
 1198 root      1808 S    /usr/sbin/uhttpd -f -h /www -r OpenWrt -x /cgi-bin -t
 1207 root       824 S    /usr/sbin/ntpclient -i 600 -s -l -D -p 123 -h 0.openw
 1217 root      1044 S    vsftpd 
 1299 root      1368 S    udhcpc -t 0 -i br-wan -b -p /var/run/dhcp-br-wan.pid 
 1320 nobody     924 S    /usr/sbin/dnsmasq -K -D -y -Z -E -s lan -S /lan/ -l /
 1329 root      2624 S N  smbd -D 
 1331 root      2124 S    nmbd -D 
 1346 root      1360 S    watchdog -t 5 /dev/watchdog 
 4182 root      1192 S    /usr/sbin/dropbear -p 22 -P /var/run/dropbear.1.pid 
 4183 root      1364 S    -ash 
 4193 root       744 S    /usr/sbin/p9100d -b -f /dev/lp0 0 
 4195 root      1356 R    ps 

12

Odp: TP-LINK 1043nd - problem z DHCP, WiFi, Printserver

No to jest, uruchomił się.

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

13

Odp: TP-LINK 1043nd - problem z DHCP, WiFi, Printserver

Cezary dzięki za pomoc! smile
W końcu to co ma działać działa.

Zostało jeszcze dobranie huba by podłączyć dodatkowo poza drukareczką dyski. Polecicie coś? Poza drukarką ma być dysk 2,5" w kieszeni + ev. drugi dysk z czasem.

Co do QOS to simpleshaper jest najprostszy? Niestety mam problemem z jego instalacją:

wget: bad response to RETR: 550 Can't open simpleshaper/simpleshaper-latest: No such file or directory
Collected errors:
 * opkg_download: Failed to download ftp://artekw.cerbero.pl/simpleshaper/simpleshaper-latest, wget returned 1.

14

Odp: TP-LINK 1043nd - problem z DHCP, WiFi, Printserver

Pogrzeb po ftp://artekw.cerbero.pl/simpleshaper bo Artur pewnie zmienił nazwę paczki lub numerację jej.

Jeżeli planujesz takie wykorzystanie huba to koniecznie jakiś z zewnętrznym zasilaniem.

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

15

Odp: TP-LINK 1043nd - problem z DHCP, WiFi, Printserver

hmmm próbowałem:

Downloading ftp://artekw.cerbero.pl//simpleshaper//simpleshaper_0.4-40_all.ipk.
Installing simpleshaper (0.4-40) to root...
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for simpleshaper:
 * satisfy_dependencies_for:     tc * satisfy_dependencies_for:     ip * satisfy_dependencies_for:     kmod-sched * satisfy_dependencies_for:     iptables-mod-filter * satisfy_dependencies_for:     iptables-mod-imq * satisfy_dependencies_for:     iptables-mod-conntrack-extra * 
 * opkg_install_cmd: Cannot install package simpleshaper.

16

Odp: TP-LINK 1043nd - problem z DHCP, WiFi, Printserver

opkg update wcześniej i ściągnie sobie zależności.

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