Jump to content
Local

Search the Community

Showing results for tags 'Shell'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Settings
    • Hardware
    • Cables
    • IPTV, cable TV, Satellite
    • Wi-Fi
    • Software
    • Optical fiber equipment
    • Games
    • PON
  • Organization
    • Network as business
    • Find networks
    • Find ISP
    • Comment providers
    • Datacenters. Hosting. Colocation.
    • Administrators purposes
    • Buy Sell Merge ISPs
    • For people
    • Jobs. Work. Training
  • Stargazer
    • Stargazer development
    • Stargazer questions
    • Stargazer Ubilling
    • Stargazer modules
  • Security
    • Viruses and Antiviruses
    • System integrity
    • Equipment protection
    • DDoS protection
  • Everything
    • Flame about networks
    • About local
    • Trade
    • For newbies
  • Regions
    • Харьков
    • Чернигов
    • Днепропетровск
    • Полтава
    • Крым
    • Запорожье
    • Тернополь
    • Донецк
    • Львов
    • Житомир
    • Сумы
    • Одесса
    • Черновцы
    • Закарпатье
    • Луганск

Calendars

  • Основной календарь

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Сайт


ICQ


Yahoo


Jabber


Skype


Город


Интересы

Found 1 result

  1. Всем привет! Имеется скрипт написанный под Unix для авто входа в буспроводную сеть.Скажите пожалуйста как данный скрипт запустить под Windows через bat файл? Заранее большое спасибо! #! /bin/bash user=username pass=password shopt -s extglob # enables pattern lists like +(...|...) listOfESSID='+(BTFON|BTOpenzone|BTOpenzone-B|BTOpenzone-H|BTWi-fi|BTWifi|BTWiFI-with-FON|BTWifi-with-FON|_BTWi-fi)' currentESSID=$(iwgetid | sed 's/.*\"\(.*\)\".*/\1/g') foo=$(wget "https://www.btopenzone.com:8443/home" --no-check-certificate --no-cache --timeout 30 -O - 2>/dev/null) if [ $? -ne 0 ] then echo "Unable to reach btopenzone.com. Are you connected to the network?" exit $? fi loggedIn=$(echo $foo | grep 'now logged on to BT Wi-fi') if [ $? -eq 0 ] then echo "You're already logged in. Nowt to do!" exit 0 else echo -n "$currentESSID " case "$currentESSID" in $listOfESSID) echo -n "is a valid Wifi network. Logging in ... " foo=$(wget -qO - --no-check-certificate --no-cache --post-data "username=$user&password=$pass" "https://www.btopenzone.com:8443/tbbLogon") loggedIn=$(echo $foo | grep 'now logged on to BT Wi-fi') if [ $? -eq 0 ] then echo "Success!" exit 0 else echo "Oops!" exit 1 fi ;; *) echo "is not in the list of valid Wifi networks." exit 1 esac fi
×