26

(102 odpowiedzi, napisanych Oprogramowanie / Software)

to  jest  prawidłowy skrypt? z  z /etc/hotplug.d/button
Niestety nie działa mi WPS sad


. /etc/functions.sh
do_button () {
    local button
    local action
    local handler
    local min
    local max

    config_get button $1 button
    config_get action $1 action
    config_get handler $1 handler
    config_get min $1 min
    config_get max $1 max
   
    [ "$ACTION" = "$action" -a "$BUTTON" = "$button" -a -n "$handler" ] && {
        [ -z "$min" -o -z "$max" ] && eval $handler
        [ -n "$min" -a -n "$max" ] && {
            [ $min -le $SEEN -a $max -ge $SEEN ] && eval $handler
        }
    }
}

config_load system
config_foreach do_button button

27

(102 odpowiedzi, napisanych Oprogramowanie / Software)

to mam w  logu


mib                  get MIB variables (dot1x, dot11, radius)
   sta <addr>           get MIB variables for one station
   all_sta              get MIB variables for all stations
   new_sta <addr>       add a new station
   deauthenticate <addr>  deauthenticate a station
   disassociate <addr>  disassociate a station
   sa_query <addr>      send SA Query to a station
   wps_pin <uuid> <pin> [timeout] [addr]  add WPS Enrollee PIN
   wps_check_pin <PIN>  verify PIN checksum
   wps_pbc              indicate button pushed to initiate PBC
   wps_cancel           cancel the pending WPS operation
   wps_ap_pin <cmd> [params..]  enable/disable AP PIN
   wps_config <SSID> <auth> <encr> <key>  configure AP
   wps_get_status       show current WPS status
   get_config           show current configuration
   help                 show this usage help
   interface [ifname]   show interfaces/select interface
   level <debug level>  change debug level
   license              show full hostapd_cli license
   quit                 exit hostapd_cli

28

(102 odpowiedzi, napisanych Oprogramowanie / Software)

Dobrze  to  jak mam użyć  tego  przycisku  lub co musze zmienic  by  dziala  tak jak tego potrzebuje smile
Na tą chwile tak  to  u mnie wyglada.


config button 'wifi_button'
    option button 'wps'
    option action 'released'
    option handler '/sbin/wifionoff'
    option min '0'
    option max '2'

config button 'reboot_button'
    option action 'released'
    option handler 'logger reboot ; /usr/lib/gargoyle/reboot.sh ;'
    option min '3'
    option max '10'
    option button 'reset'

config button 'reset_button'
    option action 'released'
    option handler 'logger restore defaults ; /sbin/firstboot ; reboot ;'
    option min '11'
    option max '90'
    option button 'wps'

29

(102 odpowiedzi, napisanych Oprogramowanie / Software)

wersja 1.6.2.1 a nie potrafie  poradzic  sobie z przyciskiem WPS
  wyłącza WiFi a  chce  by  było  tam WPS .

30

(102 odpowiedzi, napisanych Oprogramowanie / Software)

Witam temat  juz  wałkowany  ale  mam  problem z którym nie moge  sobie  sam poradzić. Ruter ktory  posiadam  na  Wyłącznik Radia  jak i  przycisk reset/wps, w jaki sposob skonfigorowac Ruter by obie te  funkcje dzialaly tzn. Przełącznik włącz  wylacz jak i WPS. ?
Generalnie zrobiłem wszystko co  było napisane w tym wątku http://eko.one.pl/?p=openwrt-wps#instalacja ale  nadal nie dziala.

31

(5 odpowiedzi, napisanych Oprogramowanie / Software)

Witam mam pytanie czy ten  Ruterek   TP-LINK TL-WR1043ND v2.1  na naszym sofcie   bedzie obsługiwał modem e3272 huawei ?

32

(17 odpowiedzi, napisanych Oprogramowanie / Software)

no nie  do  konca  bo mam jeszcze serwer dnla a to  juz  problem jak  i Transmision.
musze  zmieniac  literki   lub  odswiezac   po resecie  dnla

33

(17 odpowiedzi, napisanych Oprogramowanie / Software)

Cezary napisał/a:

Tam gdzie montujesz,  w /etc/config/fstab

u mnie to wyglada  tak :
config global 'automount'
    option from_fstab '1'
    option anon_mount '0'

config global 'autoswap'
    option from_fstab '1'
    option anon_swap '0'

config mount
    option fstype 'ext4'
    option target '/overlay'
    option uuid '90fb2f3e-637c-4b04-981d-04499b5f19c8'
    option options 'rw,noatime'
    option enabled '1'
    option enabled_fsck '1'

config swap
    option device '/dev/sda2'
    option enabled '0'

34

(17 odpowiedzi, napisanych Oprogramowanie / Software)

gdzie  to zmienic?

35

(17 odpowiedzi, napisanych Oprogramowanie / Software)

Witam  mam takie pytanie pewnie gdzies  to  było  juz..
  chodzi mi konkretnie o  montowanie dysku na usb    raz   montuje mi  jako sdb a innym razem sda  system wisi na penie exrot.
Prosze o podpowiedz  dlaczego tak sie dzieje.

36

(572 odpowiedzi, napisanych Oprogramowanie / Software)

dziekuje  juz  działa

37

(572 odpowiedzi, napisanych Oprogramowanie / Software)

problem z instalacją pluginu.
/etc/config$ opkg install plugin-gargoyle-usbrelay
Preparing to install the following packages, which will require 23805 bytes:
    plugin-gargoyle-usbrelay

Preparing to install package plugin-gargoyle-usbrelay...
    Downloading...
    Downloaded plugin-gargoyle-usbrelay successfully.
    Installing plugin-gargoyle-usbrelay...
ERROR: file '/etc/config/usbrelay'
       from package plugin-gargoyle-usbrelay already exists.

An error occurred during Installation, removing partially installed packages.
uci: Entry not found
uci: Entry not found
uci: Entry not found
Removing package plugin-gargoyle-usbrelay...
Finished removing plugin-gargoyle-usbrelay.

Finished removing partially installed packages.

niestety  nie  widze  go w  panelu   cos  robie nie tak ?


opkg update
opkg install plugin-gargoyle-usbrelay

38

(43 odpowiedzi, napisanych Oprogramowanie / Software)

oki  jeszcze raz  dziekuje   za pomoc smile

39

(43 odpowiedzi, napisanych Oprogramowanie / Software)

oki  zmieniłem i działa smile
  dziekuje za pomoc smile

40

(43 odpowiedzi, napisanych Oprogramowanie / Software)

tak  robiłem  to  w  edytorze ...:(

41

(43 odpowiedzi, napisanych Oprogramowanie / Software)

oki  to  teraz  jak  to naprawić?

42

(43 odpowiedzi, napisanych Oprogramowanie / Software)

Cezary  to  sa  te  logi o  które  prosiłeś ..

43

(43 odpowiedzi, napisanych Oprogramowanie / Software)

root@Gargoyle:~# uci show transmissionuci show transmission
Usage: uci [<options>] <command> [<arguments>]

Commands:
        batch
        export     [<config>]
        import     [<config>]
        changes    [<config>]
        commit     [<config>]
        add        <config> <section-type>
        add_list   <config>.<section>.<option>=<string>
        del_list   <config>.<section>.<option>=<string>
        show       [<config>[.<section>[.<option>]]]
        get        <config>.<section>[.<option>]
        set        <config>.<section>[.<option>]=<value>
        delete     <config>[.<section>[[.<option>][=<id>]]]
        rename     <config>.<section>[.<option>]=<name>
        revert     <config>[.<section>[.<option>]]
        reorder    <config>.<section>=<position>

Options:
        -c <path>  set the search path for config files (default: /etc/config)
        -d <str>   set the delimiter for list values in uci show
        -f <file>  use <file> as input instead of stdin
        -m         when importing, merge data into an existing package
        -n         name unnamed sections on export (default)
        -N         don't name unnamed sections
        -p <path>  add a search path for config change files
        -P <path>  add a search path for config change files and use as default
        -q         quiet mode (don't print error messages)
        -s         force strict mode (stop on parser errors, default)
        -S         disable strict mode
        -X         do not use extended syntax on 'show'

44

(43 odpowiedzi, napisanych Oprogramowanie / Software)

root@Gargoyle:~# cat /etc/config/transmission
config transmission
        option enabled 1
        option config_dir '/tmp/usb_mount/dev_sdb5/config
        #option user 'nobody'
        option alt_speed_down 50
        option alt_speed_enabled false
        option alt_speed_time_begin  540
        option alt_speed_time_day 127
        option alt_speed_time_enabled false
        option alt_speed_time_end 1020
        option alt_speed_up 50
        option bind_address_ipv4 '0.0.0.0'
        option bind_address_ipv6 '::'
        option blocklist_enabled false
        option blocklist_url ''
        option cache_size_mb 2
        option dht_enabled true
        option download_dir '/tmp/usb_mount/dev_sdb5/filmy
        option download_queue_enabled true
        option download_queue_size 4
        option encryption 1
        option idle_seeding_limit 30
        option idle_seeding_limit_enabled false
        option incomplete_dir '/tmp/usb_mount/dev_sdb5/incomplete/
        option incomplete_dir_enabled false
        option lazy_bitfield_enabled true
        option lpd_enabled false
        option message_level 1
        option peer_congestion_algorithm ''
        option peer_limit_global 240
        option peer_limit_per_torrent 60
        option peer_port 51413
        option peer_port_random_high 65535
        option peer_port_random_low 49152
        option peer_port_random_on_start false
        option peer_socket_tos 'default'
        option pex_enabled true
        option port_forwarding_enabled true
        option preallocation 1
        option prefetch_enabled true
        option queue_stalled_enabled true
        option queue_stalled_minutes 30
        option ratio_limit 2.0000
        option ratio_limit_enabled false
        option rename_partial_files true
        option rpc_authentication_required false
        option rpc_bind_address '0.0.0.0'
        option rpc_enabled true
        option rpc_password ''
        option rpc_port 9091
        option rpc_url '/transmission/'
        option rpc_username ''
        option rpc_whitelist '127.0.0.1,192.168.1.*'
        option rpc_whitelist_enabled true
        option scrape_paused_torrents_enabled true
        option script_torrent_done_enabled false
        option script_torrent_done_filename ''
        option seed_queue_enabled false
        option seed_queue_size 10
        option speed_limit_down 100
        option speed_limit_down_enabled false
        option speed_limit_up 20
        option speed_limit_up_enabled false
        option start_added_torrents true
        option trash_original_torrent_files false
        option umask 18
        option upload_slots_per_torrent 14
        option utp_enabled true
        option scrape_paused_torrents true
        option watch_dir_enabled false
        option watch_dir ''

45

(43 odpowiedzi, napisanych Oprogramowanie / Software)

root@Gargoyle:~# ls -al /etc/config
drwxr-xr-x    1 root     root          1024 Apr  8 22:14 .
drwxr-xr-x    1 root     root          1024 Apr  8 20:24 ..
-rw-r--r--    1 root     root          3261 Apr  8 20:10 ddns_gargoyle
-rw-r--r--    1 root     root           563 Apr  8 20:10 dhcp
-rw-r--r--    1 root     root           134 Apr  8 20:10 dropbear
-rw-r--r--    1 root     root          2683 Apr  8 20:10 firewall
-rw-r--r--    1 root     root           393 Apr  8 20:10 fstab
-rw-r--r--    1 root     root          4634 Apr  8 20:21 gargoyle
-rw-r--r--    1 root     root           145 Apr  8 20:22 hd-idle
-rw-r--r--    1 root     root           367 Apr  8 20:10 httpd_gargoyle
-rw-r--r--    1 root     root           725 Apr  8 20:15 minidlna
-rw-r--r--    1 root     root           620 Apr  8 20:10 network
-rw-r--r--    1 root     root           429 Apr  8 20:10 nfsd
-rw-r--r--    1 root     root           184 Apr  8 20:10 openvpn
-rw-r--r--    1 root     root           767 Apr  8 20:10 openvpn_gargoyle
-rw-r--r--    1 root     root           121 Apr  8 20:10 p910nd
-rw-r--r--    1 root     root          2272 Apr  8 20:10 qos_gargoyle
-rw-r--r--    1 root     root           510 Apr  8 20:10 samba
-rw-r--r--    1 root     root           431 Apr  8 20:10 share_users
-rw-r--r--    1 root     root          1238 Apr  8 20:10 system
-rw-r--r--    1 root     root          2289 Apr  8 22:15 transmission
-rw-r--r--    1 root     root           649 Apr  8 20:10 upnpd
-rw-r--r--    1 root     root           405 Apr  8 20:10 vsftpd
-rw-r--r--    1 root     root           347 Apr  8 20:10 webmon_gargoyle
-rw-r--r--    1 root     root          1045 Apr  8 20:10 wireless
-rw-r--r--    1 root     root            61 Apr  8 20:10 wol

46

(43 odpowiedzi, napisanych Oprogramowanie / Software)

to mi  nic nie pisze teraz  właśnie sad
jak  wpisze  w konsoli

47

(43 odpowiedzi, napisanych Oprogramowanie / Software)

z logów  systemowych ?
  czy  gdzie  to  szukac?

48

(43 odpowiedzi, napisanych Oprogramowanie / Software)

/etc/init.d/transmission enable
/etc/init.d/transmission start

49

(43 odpowiedzi, napisanych Oprogramowanie / Software)

jakas  sugestia?

50

(43 odpowiedzi, napisanych Oprogramowanie / Software)

moze od poczatku jeszcze raz...
  to jest moj confiz  z  katalogu etc/config  plik transsmision


config transmission
    option enabled 1
    option config_dir '/tmp/usb_mount/dev_sdb5/config
    #option user 'nobody'
    option alt_speed_down 50
    option alt_speed_enabled false
    option alt_speed_time_begin  540
    option alt_speed_time_day 127
    option alt_speed_time_enabled false
    option alt_speed_time_end 1020
    option alt_speed_up 50
    option bind_address_ipv4 '0.0.0.0'
    option bind_address_ipv6 '::'
    option blocklist_enabled false
    option blocklist_url ''
    option cache_size_mb 2
    option dht_enabled true
    option download_dir '/tmp/usb_mount/dev_sdb5/filmy
    option download_queue_enabled true
    option download_queue_size 4
    option encryption 1
    option idle_seeding_limit 30
    option idle_seeding_limit_enabled false
    option incomplete_dir '/tmp/usb_mount/dev_sdb5/incomplete/
    option incomplete_dir_enabled false
    option lazy_bitfield_enabled true
    option lpd_enabled false
    option message_level 1
    option peer_congestion_algorithm ''
    option peer_limit_global 240
    option peer_limit_per_torrent 60
    option peer_port 51413
    option peer_port_random_high 65535
    option peer_port_random_low 49152
    option peer_port_random_on_start false
    option peer_socket_tos 'default'
    option pex_enabled true
    option port_forwarding_enabled true
    option preallocation 1
    option prefetch_enabled true
    option queue_stalled_enabled true
    option queue_stalled_minutes 30
    option ratio_limit 2.0000
    option ratio_limit_enabled false
    option rename_partial_files true
    option rpc_authentication_required false
    option rpc_bind_address '0.0.0.0'
    option rpc_enabled true
    option rpc_password ''
    option rpc_port 9091
    option rpc_url '/transmission/'
    option rpc_username ''
    option rpc_whitelist '127.0.0.1,192.168.1.*'
    option rpc_whitelist_enabled true
    option scrape_paused_torrents_enabled true
    option script_torrent_done_enabled false
    option script_torrent_done_filename ''
    option seed_queue_enabled false
    option seed_queue_size 10
    option speed_limit_down 100
    option speed_limit_down_enabled false
    option speed_limit_up 20
    option speed_limit_up_enabled false
    option start_added_torrents true
    option trash_original_torrent_files false
    option umask 18
    option upload_slots_per_torrent 14
    option utp_enabled true
    option scrape_paused_torrents true
    option watch_dir_enabled false
    option watch_dir ''