define('DISALLOW_FILE_EDIT', true); define('DISALLOW_FILE_MODS', true); /dev/head — Ubuntu Wi-fi console

Ubuntu Wi-fi console

Вот так можно настроить wifi из текстовой консоли в Ubuntu.

Wi-fi d-link DWA-510 с wpa-psk на Ubuntu server (DHCP)

Оборудование:

  • RaLink RT2561 (PCI)
  • Ubuntu server
  • Маршрутизатор D-Link DI-524

sudo apt-get install wpasupplicant 

Сначала необходимо сгенерить хеш ключа для подключения к точке

 wpa_passphrase <your_essid> <your_passphrase>

где your_essid - имя точки доступа

your_passphrase - ключ для точки доступа

Потом открываем файл /etc/network/interfaces любым доступным редактором. Я использовал vim.

 sudo vim /etc/network/interfaces

И пишем туда следующие строчки

auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid
wpa-ap-scan 1
wpa-proto WPA
wpa-key-mgmt WPA-PSK
wpa-psk <сгенерированный вами хеш ключа>

Сохраняем файл. И рестартим инет:

sudo /etc/init.d/networking restart

Смотрим iwconfig

Пингуем роутер.

ping 192.168.0.1

Если пинги идут, значит все сделано правильно, если нет - значит либо где-то ошиблись, либо вам не подходит этот вариант.

Ссылки

http://ubuntuforums.org/showthread.php?t=318539

Теги: , ,

Дата: 3 ноября 2010

Автор: ignusius

Комментарии: 17

Комментарии: 17

  1. Nice post. I learn something totally new and
    challenging on websites I stumbleupon on a daily basis. It's always helpful to read through content from other authors and practice
    something from their websites.

    Here is my webpage - podcast

  2. This is a topic that is near to my heart... Cheers!
    Exactly where are your contact details though?

    my blog post - 1win официальный

  3. Hey there this is kinda of off topic but I was wondering if blogs use WYSIWYG editors or if you have to manually
    code with HTML. I'm starting a blog soon but have no coding expertise so I wanted to get advice from someone with experience.
    Any help would be greatly appreciated!

    Here is my web site - леон казино онлайн

  4. you're in reality a excellent webmaster. The web site loading
    velocity is incredible. It sort of feels that you're doing
    any unique trick. In addition, The contents
    are masterpiece. you have done a wonderful activity in this
    topic!

    Also visit my web blog sarang188 link alternatif

  5. For centuries, theologians have been explaining the
    unknowable in terms of the-not-worth-knowing.

    Also visit my homepage :: nauka stylów pływackich kołobrzeg

  6. The Best Professional Nespresso Machine The Gurus Have
    Been Doing Three Things Nespresso Coffee Machines UK

  7. Guide To Auto Emptying Robot Vacuum: The Intermediate Guide On Auto
    Emptying Robot Vacuum Auto Emptying Robot Vacuum; https://King-Wifi.Win/Wiki/20_Things_That_Only_The_Most_Devoted_Auto_Empty_Robot_Vacuum_Fans_Understand,

  8. Quick House Locksmith Tips To Relax Your Everyday Lifethe Only Quick House
    Locksmith Trick That Everybody Should Learn quick house locksmith

  9. The 10 Most Scariest Things About Emergency House Boarding Emergency House Boarding

  10. What's The Job Market For Best Sash Window Repair Contractors
    Professionals? Best Sash Window Repair Contractors

  11. Five Nespresso Cappuccino Machine Projects To
    Use For Any Budget Nespresso Espresso

  12. 20 Inspiring Quotes About Foldable Electric Mobility Scooters foldable travel scooters (https://jobgetr.Com)

  13. Guide To Mobility Scooter Three Wheel: The Intermediate Guide In Mobility
    Scooter Three Wheel Mobility Scooter Three Wheel

  14. 7 Things About Tassimo Coffee Machine You'll Kick Yourself For Not Knowing
    Bosch Tassimo Coffee Machine

  15. The 10 Scariest Things About Veleco 3 Wheeled Mobility Scooter veleco 3 wheeled mobility scooter

  16. 10 Tell-Tale Signs You Must See To Find A New Folding Mobility Scooter With Lithium Battery folding mobility scooters
    with basket (output.jsbin.com)

Добавить комментарий для Tanisha Отменить ответ

*

Комментарий:

Ваш e-mail не будет опубликован.
Обязательные поля помечены *

Разрешенные HTML теги:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>