126

(48 odpowiedzi, napisanych Oprogramowanie / Software)

Cezary napisał/a:

Samo się robi,

No właśnie że nie, dlatego pytam, bo na stronie dyndns-a jest cały czas stary adres.
Zablokowana domena nie jest, bo ręcznie przez wget się aktualizuje
W jaki sposób można sprawdzić czy skrypt się uruchamia?

127

(48 odpowiedzi, napisanych Oprogramowanie / Software)

Sam namieszałem se przy tym wszystkim sad
Jeszcze pytanko jak włączyć autoaktualizacje ?

128

(48 odpowiedzi, napisanych Oprogramowanie / Software)

Teraz wyświetla aktualne IP ale nie zamienia go w dyndns-e

odpowiedź:
update_url="http://[USERNAME]:[PASSWORD]@members.dyndns.org/nic/update?hostname=[DOMAIN]&myip=[IP]"
force seconds = 259200
check seconds = 600
old process id (if it exists) = " 572 root 1476 S /bin/sh /usr/lib/ddns/dynamic_dns_updater.sh myddns 0"
time_since_update = 26 hours
Running IP check...
current system ip = 77.253.***.*
registered domain ip = 127.0.0.1
update necessary, performing update ...
updating with url=""http://login:hasło@members.dyndns.org/nic/update?hostname=hajan.dyndns.org&myip=77.253.***.**""
wget: not an http or ftp url: "http://login:hasło@members.dyndns.org/nic/update?hostname=login.dyndns.org&myip=77.253.***.**"
Update Output:


update complete, time is: Thu Nov 29 09:35:41 CET 2012

129

(48 odpowiedzi, napisanych Oprogramowanie / Software)

Poprzez wywołanie skrypu dynamic_dns_updater.sh bo w automacie i tak nie działa więc szukam dlaczego

130

(48 odpowiedzi, napisanych Oprogramowanie / Software)

Nadal mam odpowiedź
ERRROR: You must specify a service id (the section name in the /etc/config/ddns file) to initialize dynamic DNS
i niewiem gdzie tkwi błąd sad

config 'service' 'myddns'
    option 'interface' 'wan'
    option 'force_interval' '72'
    option 'force_unit' 'hours'
    option 'check_interval' '10'
    option 'check_unit' 'minutes'
    option 'enabled' '1'
    option 'ip_source' 'web'
    option 'ip_network' '"http://www.whatismyip.com/automation/n09230945.asp"'
    option 'update_url' '"http://[USERNAME]:[PASSWORD]@members.dyndns.org/nic/update?hostname=[DOMAIN]&myip=[IP]"'
    option 'service_name' 'dyndns.com'
    option 'domain' 'domena.dyndns.org'
    option 'password' 'hasło'
    option 'username' 'user'

131

(48 odpowiedzi, napisanych Oprogramowanie / Software)

Czyli
http://[USERNAME]:[PASSWORD]@members.dyndns.org/nic/update?hostname=[DOMAIN]&myip=[IP]
i hostname również ma być DOMAIN a nie moja?

#!/bin/sh
# /usr/lib/dynamic_dns/dynamic_dns_updater.sh
#
# Written by Eric Paul Bishop, Janary 2008
# Distributed under the terms of the GNU General Public License (GPL) version 2.0
#
# This script is (loosely) based on the one posted by exobyte in the forums here:
# http://forum.openwrt.org/viewtopic.php?id=14040
#

. /usr/lib/ddns/dynamic_dns_functions.sh


service_id=$1
if [ -z "$service_id" ]
then
    echo "ERRROR: You must specify a service id (the section name in the /etc/config/ddns file) to initialize dynamic DNS."
    return 1
fi

#default mode is verbose_mode, but easily turned off with second parameter
verbose_mode="1"
if [ -n "$2" ]
then
    verbose_mode="$2"
fi

###############################################################
# Leave this comment here, to clearly document variable names
# that are expected/possible
#
# Now use load_all_config_options to load config
# options, which is a much more flexible solution.
#
#
#config_load "ddns"
#
#config_get enabled $service_id enabled
#config_get service_name $service_id service_name
#config_get update_url $service_id update_url
#
#
#config_get username $service_id username
#config_get password $service_id password
#config_get domain $service_id domain
#
#
#config_get use_https $service_id use_https
#config_get cacert $service_id cacert
#
#config_get ip_source $service_id ip_source
#config_get ip_interface $service_id ip_interface
#config_get ip_network $service_id ip_network
#config_get ip_url $service_id ip_url
#
#config_get force_interval $service_id force_interval
#config_get force_unit $service_id force_unit
#
#config_get check_interval $service_id check_interval
#config_get check_unit $service_id check_unit
#########################################################
load_all_config_options "ddns" "$service_id"


#some defaults
if [ -z "$check_interval" ]
then
    check_interval=600
fi

if [ -z "$check_unit" ]
then
    check_unit="seconds"
fi


if [ -z "$force_interval" ]
then
    force_interval=72
fi

if [ -z "$force_unit" ]
then
    force_unit="hours"
fi

if [ -z "$use_https" ]
then
    use_https=0
fi



#some constants

if [ "x$use_https" = "x1" ]
then
    retrieve_prog="/usr/bin/curl "
    if [ -f "$cacert" ]
    then
        retrieve_prog="${retrieve_prog}--cacert $cacert "
    elif [ -d "$cacert" ]
    then
        retrieve_prog="${retrieve_prog}--capath $cacert "
    fi
else
    retrieve_prog="/usr/bin/wget -O - ";
fi

service_file="/usr/lib/ddns/services"

ip_regex="[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}"

NEWLINE_IFS='
'


#determine what update url we're using if the service_name is supplied
if [ -n "$service_name" ]
then
    #remove any lines not containing data, and then make sure fields are enclosed in double quotes
    quoted_services=$(cat $service_file |  grep "^[\t ]*[^#]" |  awk ' gsub("\x27", "\"") { if ($1~/^[^\"]*$/) $1="\""$1"\"" }; { if ( $NF~/^[^\"]*$/) $NF="\""$NF"\""  }; { print $0 }' )


    #echo "quoted_services = $quoted_services"
    OLD_IFS=$IFS
    IFS=$NEWLINE_IFS
    for service_line in $quoted_services
    do
        #grep out proper parts of data and use echo to remove quotes
        next_name=$(echo $service_line | grep -o "^[\t ]*\"[^\"]*\"" | xargs -r -n1 echo)
        next_url=$(echo $service_line | grep -o "\"[^\"]*\"[\t ]*$" | xargs -r -n1 echo)

        if [ "$next_name" = "$service_name" ]
        then
            update_url=$next_url
        fi
    done
    IFS=$OLD_IFS
fi

if [ "x$use_https" = x1 ]
then
    update_url=$(echo $update_url | sed -e 's/^http:/https:/')
fi


verbose_echo "update_url=$update_url"



#if this service isn't enabled then quit
if [ "$enabled" != "1" ] 
then
    return 0
fi





#compute update interval in seconds
case "$force_unit" in
    "days" )
        force_interval_seconds=$(($force_interval*60*60*24))
        ;;
    "hours" )
        force_interval_seconds=$(($force_interval*60*60))
        ;;
    "minutes" )
        force_interval_seconds=$(($force_interval*60))
        ;;
    "seconds" )
        force_interval_seconds=$force_interval
        ;;
    * )
        #default is hours
        force_interval_seconds=$(($force_interval*60*60))
        ;;
esac



#compute check interval in seconds
case "$check_unit" in
    "days" )
        check_interval_seconds=$(($check_interval*60*60*24))
        ;;
    "hours" )
        check_interval_seconds=$(($check_interval*60*60))
        ;;
    "minutes" )
        check_interval_seconds=$(($check_interval*60))
        ;;
    "seconds" )
        check_interval_seconds=$check_interval
        ;;
    * )
        #default is seconds
        check_interval_seconds=$check_interval
        ;;
esac



verbose_echo "force seconds = $force_interval_seconds"
verbose_echo "check seconds = $check_interval_seconds"

#kill old process if it exists & set new pid file
if [ -d /var/run/dynamic_dns ]
then
    #if process is already running, stop it
    if [ -e "/var/run/dynamic_dns/$service_id.pid" ]
    then
        old_pid=$(cat /var/run/dynamic_dns/$service_id.pid)
        test_match=$(ps | grep "^[\t ]*$old_pid")
        verbose_echo "old process id (if it exists) = \"$test_match\""
        if [ -n  "$test_match" ]
        then
            kill $old_pid
        fi
    fi

else
    #make dir since it doesn't exist
    mkdir /var/run/dynamic_dns
fi
echo $$ > /var/run/dynamic_dns/$service_id.pid




#determine when the last update was
current_time=$(monotonic_time)
last_update=$(( $current_time - (2*$force_interval_seconds) ))
if [ -e "/var/run/dynamic_dns/$service_id.update" ]
then
    last_update=$(cat /var/run/dynamic_dns/$service_id.update)
fi
time_since_update=$(($current_time - $last_update))


human_time_since_update=$(( $time_since_update / ( 60 * 60 ) ))
verbose_echo "time_since_update = $human_time_since_update hours"




registered_ip=$(echo $(nslookup "$domain" 2>/dev/null) |  grep -o "Name:.*" | grep -o "$ip_regex")


#do update and then loop endlessly, checking ip every check_interval and forcing an updating once every force_interval

while [ true ]
do
    current_ip=$(get_current_ip)


    current_time=$(monotonic_time)
    time_since_update=$(($current_time - $last_update))


    verbose_echo "Running IP check..."
    verbose_echo "current system ip = $current_ip"
    verbose_echo "registered domain ip = $registered_ip"


    if [ "$current_ip" != "$registered_ip" ]  || [ $force_interval_seconds -lt $time_since_update ]
    then
        verbose_echo "update necessary, performing update ..."

        #do replacement
        final_url=$update_url
        for option_var in $ALL_OPTION_VARIABLES
        do
            if [ "$option_var" != "update_url" ]
            then
                replace_name=$(echo "\[$option_var\]" | tr 'a-z' 'A-Z')
                replace_value=$(eval echo "\$$option_var")
                replace_value=$(echo $replace_value | sed -f /usr/lib/ddns/url_escape.sed)
                final_url=$(echo $final_url | sed s^"$replace_name"^"$replace_value"^g )
            fi
        done
        final_url=$(echo $final_url | sed s/"\[HTTPAUTH\]"/"$username${password:+:$password}"/g )
        final_url=$(echo $final_url | sed s/"\[IP\]"/"$current_ip"/g )


        verbose_echo "updating with url=\"$final_url\""

        #here we actually connect, and perform the update
        update_output=$( $retrieve_prog "$final_url" )

        verbose_echo "Update Output:"
        verbose_echo "$update_output"
        verbose_echo ""

        #save the time of the update
        current_time=$(monotonic_time)
        last_update=$current_time
        time_since_update='0'
        registered_ip=$current_ip

        human_time=$(date)
        verbose_echo "update complete, time is: $human_time"

        echo "$last_update" > "/var/run/dynamic_dns/$service_id.update"
    else
        human_time=$(date)
        human_time_since_update=$(( $time_since_update / ( 60 * 60 ) ))
        verbose_echo "update unnecessary"
        verbose_echo "time since last update = $human_time_since_update hours"
        verbose_echo "the time is now $human_time"
    fi

    #sleep for 10 minutes, then re-check ip && time since last update
    sleep $check_interval_seconds
done

#should never get here since we're a daemon, but I'll throw it in anyway
return 0

132

(48 odpowiedzi, napisanych Oprogramowanie / Software)

Mam problem z aktualizacją dyndns-a.
Na routerku mam czyste Backfire bez GUI pobrałem ddns-script
Przy ręcznym aktualizowaniu z palca wget http://nazwa:hasło@members.dyndns.org/nic/update?hostname=nazwa.dyndns.org&myip=[IP]
aktualizacja przebeiga pomyślnie.
Poprzez skrypt niestety nieaktualizuje mi się dyndns
Router podłączony do innego routera ADSL
Proszę o sprawdzenie configu co za błąd popełniam
Przy aktualizacji z palca dynamic_dns_updater dostaje odpowiedź złej konfiguracji
ERRROR: You must specify a service id (the section name in the /etc/config/ddns file) to initialize dynamic DNS

config 'service' 'myddns'
    option 'interface' 'wan'
    option 'force_interval' '72'
    option 'force_unit' 'hours'
    option 'check_interval' '10'
    option 'check_unit' 'minutes'
    option 'enabled' '1'
    option 'ip_source' 'web'
    option 'ip_network' "http://www.whatismyip.com/automation/n09230945.asp"
    option 'update_url' "http://[nazwa]:[hasło]@members.dyndns.org/nic/update?hostname=[nazwa.dyndns.org]&myip=[IP]"
    option 'service_name' 'dyndns.com'
    option 'domain' 'nazwa.dyndns.org'
    option 'password' 'hasło'
    option 'username' 'nazwa'
Cezary napisał/a:

grep -q slowo /tmp/test && skrypt

Do pełni szczęścia byłoby mi potrzebne uruchomienie skryptu w momencie gdy dane słowo wystąpi np. 5 razy czy jest taka możliwość zmusić do tego grep-a ?

Chodzi właśnie o przekierowanie ruchu z portu "A" wan do portu "B" w routerze (nie do lanu)

Jest to czyste Backfire bez interfejsu graficznego, nie wspominałem nawet, że to Gargoyle

Dokładnie kolega @zdzichu niedoczytał, że brak Gui

SSH było tu dobrym przykładem, żeby naświetlić o co chodzi, bo że można port zmienić to wiem,
ale mnie chodzi właśnie o przekierowanie ruchu z portu "A" do portu "B"

Chciałbym cały ruch na port 22 z zewnątrz przekierować na inny port
Nie mam Gui więc wszystko z palca i próbuję posłużyć się przykładami, które są zawarte w pliku firewalla, ale poległem
Najbardziej odpowiednie wydaje mi się to:

config redirect
    option src    wan
    option src_dport    44444
    option dest_port    22
    option proto    tcp

Proszę o podpowiedź gdzie robię błąd?

Temat trochę podobny więc tu zapytam
W jaki sposób zmusić grep (lub inny program), aby po wyszukaniu slowo w danym pliku uruchomił jakiś skrypt

grep slowo /tmp/test i tu uruchomienie skryptu

138

(35 odpowiedzi, napisanych Termometr)

Dokładnie to już też czytałem ale gnuplot się wywala
W ten sposób chciałem podmienić

set xtics ("Niedziela" 7, "Poniedzialek" 1

Zapis w pliku też już zmieniłem dla prób

Thursday Jun 2012-06-28 14:42:11 21.25
na
4 Jun 2012-06-28 14:52:11 21.81

z której kolumny miał czytać (....using 3:5...) też zmieniałem i.. sad
dlatego stwierdziłem że czegoś jeszcze w tym nie zrozumiałem dlatego proszę o pomoc

139

(35 odpowiedzi, napisanych Termometr)

Więc w moim przypadku pozostaje tylko podmianka set xtics ("Niedziela" Sunday, .....
ale gdzie popełniam błąd Jesteś w stanie podpowiedzieć? bo narazie lipa

140

(35 odpowiedzi, napisanych Termometr)

Niestety nadal nie rozumię co Masz na myśli (locale) sad

141

(35 odpowiedzi, napisanych Termometr)

tzn...
Nie robisz tego gnuplotem?

142

(35 odpowiedzi, napisanych Termometr)

W wykresie chciałbym zmienić nazwy osi x i wydawało mi się to proste poprzez
set xtics ("Niedziela" Sunday, "Poniedzialek" Monday, "Wtorek" Tuesday, "Sroda" Wednesday, "Czwartek" Thursday, "Piatek" Friday, "Sobota" Saturday)
Niestety chyba nie do końca zrozumiałem zasade zmian Gnuplota
Czy oprócz set xtics któraś z lini musi być też zmieniona?

143

(6 odpowiedzi, napisanych Termometr)

Poprostu
digitemp_DS2490 -i -a

a potem dalsza zabawa
digitemp_DS2490 -t 0 -q -o "%Y-%m-%d %H:%M:%S %.2C" | grep -v Found

144

(35 odpowiedzi, napisanych Termometr)

Nadeszła zima i troche więcej czasu mam więc powrócę do wykresów.
W gnuplocie chce aktualizować linie

set label "teraz 31.58" at graph 0.9,0.1 right

Aktualizację robie poprzez

sed -i -e 's|teraz [0-9][0-9].[0-9][0-9]|teraz 10.13|' /dwor.sh

ale gdy chcę podmienić temp 3 cyfrowę albo ujemną to już sed mi tego nie wykonuje nie mogę dojść w jaki sposób mam to zrobić
Gdzie popełniam błąd?

145

(127 odpowiedzi, napisanych Oprogramowanie / Software)

Dzięki.
Jak zawsze 100% pomoc
Druga metoda prostsza jest, a niżeli dopisywać ręcznie w pliku. Obie działają.

Czy niemożna by dodać tego na stałe do 3ginfo w przyszłości, albo się to gryzie z innymi modemami?

146

(127 odpowiedzi, napisanych Oprogramowanie / Software)

W pliku wygenerowanym ze strony http://btsearch.pl/nobbimonitor.php wczoraj mam wpisy
26001;0X4C00;0XC352;0x0450;50.256667;18.844444;0;Ruda Śląska, ul. Nowy Świat 46 - maszt Plusa, sygnał z anten Plusa [SLK:25648:1104:U900-2963];0

Przy T-mobile wypluwa

+CSQ: 19,99
^SYSINFO:2,3,0,5,1,,7
+COPS: 0,2,"26002",2
+CREG: 2,1, A00099, 4B85
+CGREG: 2,1, A00099, 4B85
+CGEQNEG: 1,3,3968,8640,16,64,0,1500,"1E4","1E5",0,1000,1
DEVICE:huawei K3765
---------------------------------------------------------------
/dev/tty      /dev/ttyS0    /dev/ttyUSB0  /dev/ttyUSB1  /dev/ttyUSB2
---------------------------------------------------------------

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 1
B:  Alloc=  1/800 us ( 0%), #Int=  1, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 2.06
S:  Manufacturer=Linux 2.6.32.27 ehci_hcd
S:  Product=Atheros AR91xx built-in EHCI controller
S:  SerialNumber=ar71xx-ehci
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  4 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=12d1 ProdID=1465 Rev= 0.00
S:  Manufacturer=HUAWEI Technology
S:  Product=HUAWEI Mobile
C:* #Ifs= 7 Cfg#= 1 Atr=e0 MxPwr=500mA
A:  FirstIf#= 1 IfCount= 2 Cls=02(comm.) Sub=00 Prot=00
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=81(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 1 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=ff Driver=(none)
E:  Ad=83(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 5 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 6 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

i w pliku.clf są takie dane 

26002;0X4B85;0XA099;0x03e9;50.266944;18.835;0;Ruda Śląska, ul. Kokota 169 - KWK Bieliszowice [SLK:50175:1001:U2100-?];0

które też nie są wyświetlane w statusie

Podobna sytuacja jest z orange

147

(127 odpowiedzi, napisanych Oprogramowanie / Software)

Cezary napisał/a:

Pokaż wynik 3ginfo-test.

+CSQ: 16,99
^SYSINFO:2,2,0,5,1,,4
+COPS: 0,2,"26017",2
+CREG: 2,0
+CGREG: 2,1, C30052, 4C00
+CGEQNEG: 1,2,256,256,0,0,0,1500,"1E3","4E3",0,100,3
DEVICE:huawei K3765
---------------------------------------------------------------
/dev/tty      /dev/ttyS0    /dev/ttyUSB0  /dev/ttyUSB1  /dev/ttyUSB2
---------------------------------------------------------------

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 1
B:  Alloc=  1/800 us ( 0%), #Int=  1, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 2.06
S:  Manufacturer=Linux 2.6.32.27 ehci_hcd
S:  Product=Atheros AR91xx built-in EHCI controller
S:  SerialNumber=ar71xx-ehci
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=12d1 ProdID=1465 Rev= 0.00
S:  Manufacturer=HUAWEI Technology
S:  Product=HUAWEI Mobile
C:* #Ifs= 7 Cfg#= 1 Atr=e0 MxPwr=500mA
A:  FirstIf#= 1 IfCount= 2 Cls=02(comm.) Sub=00 Prot=00
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=81(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 1 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=ff Driver=(none)
E:  Ad=83(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 5 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 6 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

148

(127 odpowiedzi, napisanych Oprogramowanie / Software)

Mam pytanie odnośnie wyświetlania pełnej nazwy BTS-u tak jak to jest na głównej (Warszawa - Ursynów ....) czy to wpisałeś ręcznie na głównej, czy powinno się to automatycznie wyświetlać po dodaniu pliku plik.clf oraz podaniu ścieżki w pliku configuracyjnym 3ginfo ?
W pliku clf znalazłem mój wyświetlany CID, a w statusie niestety nie są te dane wyświetlane.

Tak jak najbardziej smile Dzięki
Teraz to jeszcze bardziej mnie interesuje dlaczego poprzednio nie umiałem się zalogować podając hasło, bo po przywróceniu poprzednich konfigów też samba działa sad

Konfigi są powyżej

Próbowałem na XP, WIN7, Linux i wszędzie to samo

To mi wypluł smcclient
smbclient -L 192.168.2.1 -U malgosia
Enter malgosia's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.37]
Server requested LANMAN password (share-level security) but 'client lanman auth' is disabled

Na niezabezpieczonej sambie nigdzie niema problemu