Error for wireless request set essid 8b1a

Здравствуйте. Есть USB точка доступа TL-WN725N.
  • Печать

Страницы: [1]   Вниз

Тема: Не получается установить Wi-Fi точку доступа  (Прочитано 3350 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн
oriaraniar

Здравствуйте.
Есть USB точка доступа TL-WN725N. Рабочая, ибо на винде стартует без проблем.
Есть компьютер с линуксом, который есть большое желание с данной точкой доступа подружить, ибо планируется именно через неё подключаться к интернету.

Но ни одна попытка установить драйвера не подошла. Они либо безрезультатно ставятся, либо выдают ошибки по типу:

cc1: some warnings being treated as errors
make[2]: *** [/home/dmitriy/Загрузки/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.o] Ошибка 1
make[1]: *** [_module_/home/dmitriy/Загрузки/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911] Ошибка 2
make[1]: Выход из каталога `/usr/src/linux-headers-3.11.0-15-generic'
make: *** [modules] Ошибка 2

Конкретно эта ошибка появляется после попытки установки драйверов с оф. сайта Realtek, ибо там стоит чип RTL8188CUS. Инструкцию по установке брал тут http://www.sakryukin.ru/?module=articles&c=articles&b=6&a=9

Может кто-нибудь подсказать, как с этим зверем быть, или стоит поискать более дружелюбное железо?
PS. Линукс ковыряю совсем недавно, по сему некоторые очевидные на ваш взгляд вещи могу не сходу понимать.


Оффлайн
fisher74

Инструкцию по установке брал тут http://www.sakryukin.ru….

А чего автора не спрашиваете?

Что значит?

безрезультатно ставятся

Что хоть за версия дистрибутива?

Ну и по порядочку
lsusb

« Последнее редактирование: 18 Января 2014, 16:30:25 от fisher74 »


Оффлайн
oriaraniar

Kernel Linux 3.11.0-15-generic (x86_64)
Compiled #23-Ubuntu SMP Mon Dec 9 18:17:04 UTC 2013
Default C Compiler GNU C Compiler version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu9)
Distribution Ubuntu 13.10

У автора самое ценное что нашел — так это ссылку на сайт с драйверами.
Инструкций там как-таковых нет, тем паче что ошибка вылезла на make.

Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp.
Bus 001 Device 002: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 1c4f:000e SiGma Micro Genius KB-120 Keyboard
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


Пользователь решил продолжить мысль 18 Января 2014, 16:39:36:


Что значит?

Устанавливаются не выдавая ошибок, но и не приводя к результату. Нигде не появляется упоминание о том, что Wi-Fi в принципе есть в системе. Смотрел как в сетевых соединениях, так и в hardinfo

« Последнее редактирование: 18 Января 2014, 16:40:30 от oriaraniar »


Оффлайн
fisher74

Kernel   Linux 3.11.0-15-generic (x86_64)

С сайта реалтека

Linux Kernel 2.6.18~3.9

Инструкций там как-таковых нет, тем паче что ошибка вылезла на make.

Как это нет? А что Вы тогда считаете инструкцией? Читайте readme от производителя.

В lsusb Не увидел обсуждаемый девайс


Оффлайн
oriaraniar

В lsusb Не увидел обсуждаемый девайс

Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp. У меня он определяется так


Оффлайн
fisher74

Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp. У меня он определяется так

И правильно… зачем читать-то …

предлагаю сделать так

wget -c https://github.com/lwfinger/rtl8188eu/archive/master.zip
unzip master.zip
cd rtl8188eu-master
make
sudo make install
sudo modprobe 8188eu

« Последнее редактирование: 18 Января 2014, 17:15:47 от fisher74 »


Оффлайн
oriaraniar

ifconfig
wlan0     Link encap:Ethernet  HWaddr 10:fe:ed:12:56:a3 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
Благодарю! Хотя бы драйвер встал.
Можете еще подсказать, в какую сторону смотреть, дабы Wi-Fi появился среди доступных подключений?
А то в сетевых соединениях по прежнему один ethernet…


Пользователь решил продолжить мысль 18 Января 2014, 18:19:23:


Это нормальная ситуация?

dmitriy@dmitriy-desktop:~$ ifconfig wlan0 up
SIOCSIFFLAGS: Операция не позволена

dmitriy@dmitriy-desktop:~$ rfkill listТут нет никакой реакции

dmitriy@dmitriy-desktop:~$ rfkill
Usage: rfkill [options] command
Options:
--version show version (0.4-2ubuntu1 (Ubuntu))
Commands:
help
event
list [IDENTIFIER]
block IDENTIFIER
unblock IDENTIFIER
where IDENTIFIER is the index no. of an rfkill switch or one of:
<idx> all wifi wlan bluetooth uwb ultrawideband wimax wwan gps fm
Тут мне явно говорят о каких-то нестыковках, но я не могу понять, что именно это значит

« Последнее редактирование: 18 Января 2014, 18:19:23 от oriaraniar »


Оффлайн
fisher74


Оффлайн
oriaraniar

dmitriy@dmitriy-desktop:~$ iwlist wlan0 scan
wlan0     Scan completed :

          Cell 02 - Address: F4:EC:38:E9:87:EC
                    ESSID:"oriaraniar"
                    Protocol:IEEE 802.11bgn
                    Mode:Master
                    Frequency:2.412 GHz (Channel 1)
                    Encryption key:on
                    Bit Rates:144 Mb/s
                    Extra:rsn_ie =30140100000fac040100000fac040100000fac020c00
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    Quality:0  Signal level:0  Noise level:0

dmitriy@dmitriy-desktop:~$ iwconfig wlan0 essid oriaraniar  key (Введен верный ключ)
Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device wlan0 ; Operation not permitted.


Что я делаю не так?

И еще. После установки драйвера при перезагрузке стало появляться вот такое сообщение(во вложении)


Оффлайн
AnrDaemon

Хотите получить помощь? Потрудитесь представить запрошенную информацию в полном объёме.

Прежде чем [Отправить], нажми [Просмотр] и прочти собственное сообщение. Сам-то понял, что написал?…


Оффлайн
oriaraniar

Не совсем понял, что именно и в какой момент произошло, но штатный диспетчер сетевой (не помню как он правильно называется) увидел мои Wi-Fi сети, подключился к ним и стал автоматически переподключаться при перезагрузке.
Огромное спасибо всем, кто помогал!


Оффлайн
vktRus

Если есть интернет по кабелю, то вот мой скрипт для установки драйвера RTL8188eu TP-Link TL-WN725N:

#!/bin/bash
sudo apt-get install --reinstall build-essential git dkms
git clone git://github.com/lwfinger/rtl8188eu
sudo dkms add ~/rtl8188eu
sudo dkms build 8188eu/1.0
sudo dkms install 8188eu/1.0
echo "blacklist r8188eu" | sudo tee -a /etc/modprobe.d/blacklist.conf
sudo cp ~/rtl8188eu/rtl8188eufw.bin /lib/firmware/rtlwifi/
sudo modprobe -v 8188eu


Оффлайн
AnrDaemon

vktRus, топику два года скоро.

Хотите получить помощь? Потрудитесь представить запрошенную информацию в полном объёме.

Прежде чем [Отправить], нажми [Просмотр] и прочти собственное сообщение. Сам-то понял, что написал?…


  • Печать

Страницы: [1]   Вверх

  • Home
  • Forum
  • The Ubuntu Forum Community
  • Ubuntu Official Flavours Support
  • Networking & Wireless
  • [ubuntu] iwconfig error (rtl8188ce) for «Set ESSID»: SET failed

  1. iwconfig error (rtl8188ce) for «Set ESSID»: SET failed

    I’ve had problems with my wireless card since I got my Toshiba NB505 over a year ago. I downloaded and installed drivers almost a year ago, but had no idea what I was doing, and possibly installed things a little wrong, so wlan0 ended up slow and unpredictable, often not recognizing APs, not connecting, or dropping connections. About 6 months ago somehow wlan0 started working fine in X (right after I threw the damn thing out a window in frustration).

    I’m trying to learn how to connect to an AP from tty2 (using ifconfig, iwlist, and iwconfig) without running X, and wlan0’s back to the old tricks.

    This usually happens:

    Code:

    $ iwlist wlan0 scan
    wlan0     No scan results

    Sometimes it gives me my neighbor’s essid, and once in a blue moon gives me my own. The AP is fine: I’m online posting to this forum uneventfully on another laptop via my AP.

    But when iwlist wlan0 scan does discover my AP and I try to connect to it with the NB505:

    Code:

    $ iwconfig wlan0 essid "HOME-A002"
    Error for wireless request "Set ESSID" (8B1A) :
         SET failed on device wlan0 ; Operation not permitted.

    Here’s my hardware:

    Code:

    $ lspci | grep etwork
    07:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)

    Here’s wlan0’s configuration:

    Code:

    $ iwconfig wlan0
    wlan0     IEEE 802.11bgn  ESSID:off/any
              Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm
              Retry  long limit:7   RTS thr=2347 B   Fragment thr:off
              RX bytes:0 (0.0 B)   TX bytes:0 (0.0 B)

    Here’s the drivers etc:

    Code:

    $ lsmod | grep rtl
    rtl8192ce                55853  0
    rtl8192c_common          51783  1 rtl8192ce
    rtlwifi                  75150  1 rtl8192ce
    mac80211                174452  3 rtl8192ce,rtl8192c_common,rtlwifi
    cfg80211                116717  2 rtlwifi,mac80211
    usbcore                 103418  8 rtlwifi,uvcvideo,ums_realtek,usb_storage,uas,uhci_hcd,ehci_hcd

    Aaaaand from my syslog:

    Code:

    $ sudo cat /var/log/syslog | grep etwork | tail -n25
    Apr 26 23:31:29 akcrunchbang NetworkManager[1434]: <info> (wlan0): driver supports SSID scans (scan_capa 0x01). 
    Apr 26 23:31:29 akcrunchbang NetworkManager[1434]: <info> (wlan0): new 802.11 WiFi device (driver: 'rtl8192ce' ifindex: 3)
    Apr 26 23:31:29 akcrunchbang NetworkManager[1434]: <info> (wlan0): exported as /org/freedesktop/NetworkManager/Devices/0
    Apr 26 23:31:29 akcrunchbang NetworkManager[1434]: <info> (wlan0): now managed
    Apr 26 23:31:29 akcrunchbang NetworkManager[1434]: <info> (wlan0): device state change: 1 -> 2 (reason 2)
    Apr 26 23:31:29 akcrunchbang NetworkManager[1434]: <info> (wlan0): bringing up device.
    Apr 26 23:31:29 akcrunchbang NetworkManager[1434]: <info> (wlan0): preparing device.
    Apr 26 23:31:29 akcrunchbang NetworkManager[1434]: <info> (wlan0): deactivating device (reason: 2).
    Apr 26 23:31:29 akcrunchbang NetworkManager[1434]: supplicant_interface_acquire: assertion `mgr_state == NM_SUPPLICANT_MANAGER_STATE_IDLE' failed
    Apr 26 23:31:29 akcrunchbang NetworkManager[1434]: <info> (eth0): carrier is OFF
    Apr 26 23:31:29 akcrunchbang NetworkManager[1434]: <info> (eth0): new Ethernet device (driver: 'r8169' ifindex: 2)
    Apr 26 23:31:29 akcrunchbang NetworkManager[1434]: <info> (eth0): exported as /org/freedesktop/NetworkManager/Devices/1
    Apr 26 23:31:29 akcrunchbang NetworkManager[1434]: <info> (eth0): now managed
    Apr 26 23:31:29 akcrunchbang NetworkManager[1434]: <info> (eth0): device state change: 1 -> 2 (reason 2)
    Apr 26 23:31:29 akcrunchbang NetworkManager[1434]: <info> (eth0): bringing up device.
    Apr 26 23:31:29 akcrunchbang NetworkManager[1434]: <info> (eth0): preparing device.
    Apr 26 23:31:29 akcrunchbang NetworkManager[1434]: <info> (eth0): deactivating device (reason: 2).
    Apr 26 23:31:29 akcrunchbang NetworkManager[1434]: <info> Added default wired connection 'Auto eth0' for sys/devices/pci0000:00/0000:00:1c.2/0000:09:00.0/net/eth0
    Apr 26 23:31:29 akcrunchbang NetworkManager[1434]: <warn> /sys/devices/virtual/net/lo: couldn't determine device driver; ignoring...
    Apr 26 23:31:29 akcrunchbang NetworkManager[1434]: <warn> bluez error getting default adapter: the name org.bluez was not provided by any .service files
    Apr 26 23:31:29 akcrunchbang NetworkManager[1434]: <info> modem-manager is now available
    Apr 26 23:31:29 akcrunchbang NetworkManager[1434]: <info> Trying to start the supplicant...
    Apr 26 23:31:29 akcrunchbang NetworkManager[1434]: <info> (wlan0): supplicant manager state: down -> idle
    Apr 26 23:31:29 akcrunchbang NetworkManager[1434]: <info> (wlan0): device state change: 2 -> 3 (reason 0)
    Apr 26 23:31:29 akcrunchbang NetworkManager[1434]: <info> (wlan0): supplicant interface state:  starting -> ready

    Can anybody see anything enlightening in all this or tell me where else to look to get this baby running smoothly from a terminal session without the help of X applications or frustrated defenestrations?

    Last edited by gobblehook; April 27th, 2013 at 08:32 AM.


  2. Re: iwconfig error (rtl8188ce) for «Set ESSID»: SET failed

    It’s been a long time since I wrote a 1200 word think piece on networking. Let me pour a tall coffee and we’ll get started.

    First of all, trying to manipulate your wireless interface with the terminal when Network Manager is running is fruitless. NM is so tightly integrated into the system that any efforts to change much using manual methods usually fall short. If you really, REALLY want to use manual methods, remove NM altogether. Pretty radical, eh??

    Second, most of the commands you’ve run require administrative privileges; that is, sudo:

    Code:

    sudo iwlist wlan0 scan

    Here is a quote from man iwlist:

    Triggering scanning is a privileged operation (root only) and normal users can only read left-over scan results.

    However, even if you used sudo to set the ESSID, Network Manager would instantly over-ride your command. Unless you want to remove NM and go old-skool with complete manual methods, it is far better to rely on NM to do its job. If the hardware and driver are working as expected, it does a very fine job. In the majority of cases, including two computers at my house, it’s perfect.

    Now, here is our next problem:

    $ lsmod | grep rtl
    rtl8192ce 55853 0
    rtl8192c_common 51783 1 rtl8192ce
    rtlwifi 75150 1 rtl8192ce

    Currently, the rtl81192xx series of drivers are a bit tricky. I read that a big series of bug fixes are on the way but, the last time I checked, they are a couple of weeks away.

    Frankly, if this is your current situation:

    About 6 months ago somehow wlan0 started working fine

    …then I’d cross my fingers, hold my breath and step away from the terminal!!

    Aside from general knowledge, what are you trying to achieve?

    «Oh, Ubuntu, you are my favorite Linux-based operating system» —Dr. Sheldon Cooper, Ph.D., Sc.D.


  3. Re: iwconfig error (rtl8188ce) for «Set ESSID»: SET failed

    Frankly, if this is your current situation:

    About 6 months ago somehow wlan0 started working fine

    …then I’d cross my fingers, hold my breath and step away from the terminal!!

    Aside from general knowledge, what are you trying to achieve?

    1) I don’t like to use things when I don’t know how they work. I’m trying to understand networking, command line tools, and the file hierarchy better by messing with this. I’ve been reading network theory, but I don’t really understand until I break things.
    2) I try to work primarily at the level of bash, emacs, elinks, and mutt (all of which I’m a novice in), and am learning to automate things with bash scripts and python. ttyx sessions render color in a way that’s way easier on my eyes than a terminal emulator in X. I get very distracted by shiny things when working in the GUI, the netbook chokes on said shiny things, and said shiny things rob her of her precious screen real estate. It’s annoying to log into tty2, start working, then have to run an X session in tty7 and waste system resources for the sole purpose of accessing wlan.

    I think this just means I’m doing the Linux user thing. After a while, I’ll probably post some scripts on message boards, learn enough to contribute to the Debian project in some small way, answer people’s questions on message boards, tinker with gentoo or arch in a few years, construct a cool pocket terminal emulator on a beagleboard with a 3d-printed case, painstakingly build Linux-from-scratch, and then retire to whatever is easy that people are using at the tail end of my odyssey of Linux discovery.

    In the meantime, I bug people with odd questions!


  4. Re: iwconfig error (rtl8188ce) for «Set ESSID»: SET failed

    Thanks Chili! I’m partway there….

    Stopping Network Manager was sufficient to get wlan connected:

    Code:

    sudo service network-manager stop

    Because my roommate’s AP uses WPA, I created /etc/wpa_supplicant/wpa_supplicant.conf and added this:

    Code:

    # WPA-PSK/TKIPupdate_config=1
    ctrl_interface=/var/run/wpa_supplicant
    
    network={
        ssid="MY-SSID"
        psk="MY-PSK-KEY"
    }

    I sudo’ed to scan, connect, etc — thanks for helping me understand why it’s necessary here.

    Code:

    $ sudo iplink set wlan0 up               # bring up interface
    $ sudo iwlist wlan0 scan | more          # scan for APs
    $ sudo iwconfig wlan0 essid MYESSID      # connect to AP
    $ sudo wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
    $ sudo iwconfig wlan0                    # make sure I'm connected
    $ sudo dhclient wlan0                    # request an IP address

    (Source: » HowTo: Connect and roam wifi networks with wpasupplicant» http://crunchbang.org/forums/viewtopic.php?id=16624)

    That got me online but it’s slow and jerky. I don’t know many diagnostics. Elinks received about 400 B/s from wikipedia, and Mutt became unresponsive when fetching new emails from gmail. Ping stats say:

    Code:

    $ ping ubuntu.com
    ...
    145 packets transmitted, 128 received, 11% packet loss, time 298873ms
    rtt min/avg/max/mdev = 105.305/722.475/7681.708/826.545 ms, pipe 4

    Is there a way to find out if the slow/jerky connection is due to Network-Manager somehow still meddling with things? Or to the rtl81192xx driver? What diagnostics can I run to understand the problem better? Also, does anybody have experience with wpa_cli, wpa_gui’s cousin?

    Last edited by gobblehook; April 28th, 2013 at 11:56 PM.


  5. Re: iwconfig error (rtl8188ce) for «Set ESSID»: SET failed

    See if NM is running; that is re-spawned, and I suspect it is:

    Code:

    ps aux | grep etwork

    Check if there are interesting messages about the driver:

    Code:

    cat /var/log/syslog | grep rtl | tail -n20

    The usual old-skool method to connect to wireless without NM is to fill in /etc/network/interfaces:

    Code:

    auto lo
    iface lo inet loopback
    
    auto wlan0 
    iface wlan0 inet dhcp
    wpa-essid MY-SSID
    wpa-psk MY-PSK-KEY

    Then get the system to read and use the file:

    Code:

    sudo ifdown wlan0 && sudo ifup -v wlan0

    With the ‘auto’ declaration, it will connect seamlessly, or as seamlessly as rtl8192xx is capable of, on boot.

    If you want to be able to ssh, ftp, etc. into the machine, I’d use a static IP address. Further details on request.

    My meager money is bet on the flaky and tricky rtl8192xx driver suite as the troublemaker.

    «Oh, Ubuntu, you are my favorite Linux-based operating system» —Dr. Sheldon Cooper, Ph.D., Sc.D.


Tags for this Thread

Bookmarks

Bookmarks


Posting Permissions

  • Index
  • » Networking, Server, and Protection
  • » Error for wireless request «Set ESSID» (8B1A) :

Pages: 1

#1 2007-09-16 06:51:11

ristretto
Member
Registered: 2007-07-06
Posts: 50

Error for wireless request «Set ESSID» (8B1A) :

My wireless Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
works fine when I boot up with

:
MODULES=(slhc tg3 snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore vboxdrv !iwl3945 ipw3945 evdev psmouse) 
:
eth1="eth1 192.168.0.42 netmask 255.255.255.0 broadcast 192.168.0.255"
wlan_eth1="eth1 essid flyer"
WLAN_INTERFACES=(eth1)
INTERFACES=(lo eth1)
:
DAEMONS=(syslog-ng ipw3945d network netfs crond sshd alsa )

in /etc/rc.conf

Then, occasionally it just stops working.  I haven’t worked out why.

In an attempt to get it going again, I tried this

/etc/rc.d/network restart

But, I get this error.

Error for wireless request «Set ESSID» (8B1A) :
    SET failed on device eth1 ; Operation not supported.

Any ideas what is going wrong?

#2 2007-09-16 08:50:23

harlekin
Member
From: Germany
Registered: 2006-07-13
Posts: 408

Re: Error for wireless request «Set ESSID» (8B1A) :

It seems to me as if your card goes to suspend or something, because this is the error I get when trying to perform operations to my wireless adapter if it’s switched off.

Are there some power saving options that might cause the problem?

edit: Somehow I don’t get this error anymore, so I don’t know how correct / incorrect my suggestion is. Although I think it’s worth finding out.

Last edited by harlekin (2007-09-16 08:52:20)

#3 2007-09-16 20:42:31

ristretto
Member
Registered: 2007-07-06
Posts: 50

Re: Error for wireless request «Set ESSID» (8B1A) :

I had a quick look in the bios, but didn’t find anything to change.  This does seems to happen after leaving the machine alone for a while.  So, the suspend theory makes sense.  It happens sporadically; I’ll do some more snooping next chance I get.  Thanks

I am using Mandrake 2.6.3-15 with a wireless PCMCIA card (a Trendnet TEW-226PC).  Harddrake says that it is the following device:
‎RTL8180 Realtek RTL8180 Wireless LAN (Mini-)PCI NIC

To make a long story short, for various reasons I recompiled 2.6.3-15mdk, installed ndiswrapper, loaded the driver and my card works beautifully except at my home network.  At home I have a D-Link DI-514 and note that I was able to use my wireless at home but that was with kernel 2.6.8.  Note that the card works fine under windows(at home) and the router is successfully running dhcp (there are four other computers using dhcp no problem).

When I run the command:
iwconfig wlan0 essid shanty channel 4 mode Managed rate auto

I get the message:
Error for wireless request «Set ESSID» (8B1A) :
    SET failed on device wlan0 ; Invalid argument.

Does anyone have any idea what this is all about?  I really think it is a minor setting, most likely, at the router end or within my configuration.  Note that the command above works in my office although the essid is not the correct one.  I run the command above from rc.local.  As soon as my computer boots up I have the wireless working.  

I read somewhere that it is best to use wlanctl-ng and not iwconfig.  Below is the log information that I think will be useful:

Jan  2 14:21:03 mandrake kernel: wlan0: ndiswrapper ethernet device 00:40:f4:9d:f5:a5 using driver rtl8180.sys
Jan  2 14:24:54 mandrake dhclient: DHCPREQUEST on wlan0 to 255.255.255.255 port 67
Jan  2 14:25:00 mandrake dhclient: DHCPREQUEST on wlan0 to 255.255.255.255 port 67
Jan  2 14:25:00 mandrake CROND[1491]: (mail) CMD (/usr/bin/python -S /usr/lib/mailman/cron/gate_news)
Jan  2 14:25:16 mandrake dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
Jan  2 14:25:19 mandrake dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
Jan  2 14:25:25 mandrake dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
Jan  2 14:25:31 mandrake dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
Jan  2 14:25:45 mandrake dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
Jan  2 14:26:00 mandrake dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
Jan  2 14:26:07 mandrake dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
Jan  2 14:26:17 mandrake dhclient: No DHCPOFFERS received.
Jan  2 14:26:17 mandrake dhclient: Trying recorded lease 192.168.123.166
Jan  2 14:26:20 mandrake dhclient: Trying recorded lease 192.168.0.107
Jan  2 14:26:23 mandrake kernel: zcip uses obsolete (PF_INET,SOCK_PACKET)
Jan  2 14:26:23 mandrake zcip[1530]: interface: wlan0 (00:40:F4:9D:F5:A5)
Jan  2 14:26:23 mandrake zcip[1530]: Retrieved address 127.255.255.255 for wlan0:9
Jan  2 14:26:23 mandrake zcip[1530]: probing for 127.255.255.255
Jan  2 14:26:23 mandrake kernel: device wlan0 entered promiscuous mode
Jan  2 14:26:23 mandrake zcip[1530]: sending probe 1 for 127.255.255.255
Jan  2 14:26:25 mandrake zcip[1530]: sending probe 2 for 127.255.255.255
Jan  2 14:26:27 mandrake zcip[1530]: sending probe 3 for 127.255.255.255
Jan  2 14:26:29 mandrake zcip[1530]: sending probe 4 for 127.255.255.255
Jan  2 14:26:31 mandrake kernel: device wlan0 left promiscuous mode
Jan  2 14:26:31 mandrake zcip[1530]: claiming ownership of address 127.255.255.255
Jan  2 14:26:35 mandrake zcip[1530]: Stored address 127.255.255.255 for wlan0:9
Jan  2 14:26:35 mandrake zcip[1531]: watching for collisions
Jan  2 14:26:36 mandrake tmdns[917]: claim name «mandrakeistheshit.local», type 1

View previous topic :: View next topic  
Author Message
pau
Apprentice
Apprentice

Joined: 26 Dec 2004
Posts: 159
Location: /home/pau/

PostPosted: Sat Apr 16, 2005 9:23 pm    Post subject: wlan configuration: wireless drivers problem Reply with quote

Hi,

I am trying to configurate wlan in my laptop

i followed the instructions of

http://gentoo-wiki.com/HARDWARE_Gentoo_Acer_Travelmate_803LCi_Manual#Networking_WLAN

But when arriving to

iwconfig eth1 essid youressid

I wonder… what is my essid?! I tried to give a name, but then I get

Error for wireless request «Set ESSID» (8B1A) :

SET failed on device eth1 ; Operation not supported.

What is going on?!

Last edited by pau on Sat Apr 23, 2005 10:42 am; edited 1 time in total

Back to top

View user's profile Send private message

user
Apprentice
Apprentice

Joined: 08 Feb 2004
Posts: 187

PostPosted: Sun Apr 17, 2005 2:39 pm    Post subject: Reply with quote

do you really setUP eth1?

essid stands for Extended Service Set Identifier better known as workgroup

use your accesspoint name or scan for it (if supported)

Code:
# iwlist eth1 scan

Back to top

View user's profile Send private message

pau
Apprentice
Apprentice

Joined: 26 Dec 2004
Posts: 159
Location: /home/pau/

PostPosted: Sun Apr 17, 2005 4:27 pm    Post subject: Reply with quote

Hi,

thanks for the answer…

what do you find it so strange? Whats wrong with eth1?

iwlist eth1 scan didn’t work…

Listen, I have a wlan card in my laptop and a wire-less adsl connection at home and I would like to set it up to work… How can I do this?

When I look at HOWTO Wireless Configuration and Startup I see that I have to replace ESSID with my ESSID and mywepkey with my WEP key

The question is… what is my ESSID and my wepkey?

If I choose wpa_supplicant do I need all of this?

help!

Back to top

View user's profile Send private message

fcgreg
Apprentice
Apprentice

Joined: 17 May 2003
Posts: 264
Location: California, USA

PostPosted: Tue Apr 19, 2005 9:49 pm    Post subject: Some info Reply with quote

pau wrote:


what do you find it so strange? Whats wrong with eth1?



I think he means that normally a second wireless interface is setup as «wlan0», not necessarily eth1.

pau wrote:

iwlist eth1 scan didn’t work…



Do you know for sure that eth1 is correct? Try running:

Code:
ifconfig -a



Does that show your wireless interface? Is it called «wlan0» or something else?

pau wrote:


When I look at HOWTO Wireless Configuration and Startup I see that I have to replace ESSID with my ESSID and mywepkey with my WEP key

The question is… what is my ESSID and my wepkey?



The ESSID is set at your wireless router — particularly if you’re using WEP. If you aren’t using WEP then you probably don’t need to even worry about the ESSID or WEP key (and therefore, ignore the relevant steps below).

Here is what you should do. Find your correct interface as I indicated above. Then run:

Code:
iwlist wlan0 scan

If nothing comes back then there is something wrong with your wireless drivers. Otherwise, your access point should display in the results (assuming you’re close enough to connect to it, of course).

Next try setting the ESSID with «iwconfig»:

Code:
iwconfig wlan0 essid «put your id here»

Finally, enter your WEP key. You will need to do it one of two ways, depending on whether you enter it as Hex or ASCII:

Code:
iwconfig wlan0 key restricted XXXXXXXXXX



(for Hex, or for ASCII:)

Code:
iwconfig wlan0 key restricted s:XXXXXXXXX

Check to see if iwconfig accepted your settings.

Code:
iwconfig wlan0



You should see a proper ESSID (top right) and your WEP key (middle left).

If that looks good try to bring up your interface (e.g. if you’re using dhcp then type: dhcpcd wlan0).

pau wrote:
If I choose wpa_supplicant do I need all of this?



Nope. You only need WPA supplicant if you are using WPA encryption to connect to your access point. If this is the case, the above instructions will only be partially helpful.

HTH
_________________
Greg T.

Back to top

View user's profile Send private message

pau
Apprentice
Apprentice

Joined: 26 Dec 2004
Posts: 159
Location: /home/pau/

PostPosted: Sat Apr 23, 2005 10:58 am    Post subject: Reply with quote

Hi,

I am trying to confiurate the wireless drivers of my laptop. Wlan is integrated on it. It is a Intel Corp. PRO/Wireless 2200BG. I emerged

net-wireless/ipw2200

and

net-wireless/ipw2200-firmware

Then

Code:
 modprobe ipw2200

and added it to /etc/modules.autoload.d/kernel-2.6

After doing

Code:
ln -s net.eth0 net.eth1

in /etc/init.d/ I brought it up with

Code:
 ifconfig eth1 up

But then

Code:
iwconfig                                                                                                                                   

lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

As for ifconfig -a

Code:
ifconfig -a                                                                                                                                 

eth0      Link encap:Ethernet  HWaddr 00:03:0D:1B:80:17

          inet addr:192.168.2.100  Bcast:192.168.2.255  Mask:255.255.255.0

          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:27713 errors:0 dropped:0 overruns:0 frame:0

          TX packets:16501 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:38879484 (37.0 Mb)  TX bytes:1536622 (1.4 Mb)

          Interrupt:9 Base address:0xc800

eth1      Link encap:UNSPEC  HWaddr 00-03-0D-00-25-52-C4-B6-00-00-00-00-00-00-00-00

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo        Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

          RX packets:142 errors:0 dropped:0 overruns:0 frame:0

          TX packets:142 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:8734 (8.5 Kb)  TX bytes:8734 (8.5 Kb)

Also

Code:
iwlist scanning                                               

lo        Interface doesn’t support scanning.

eth0      Interface doesn’t support scanning.

eth1      Interface doesn’t support scanning.


Code:
                                                                                 

 

 /etc/init.d/net.eth1 start                                                                                                                     

 * Caching service dependencies …                                                                                                                    [ ok ] * Bringing eth1 up …

-t: Unknown host

ifconfig: `—help’ gives usage information.

In my /etc/conf.d/net I have

Code:
iface_eth0=»dhcp»

dhcpcd_eth0=»-HD»

dhcpcd_eth0=»-N»

# per a connexió wpa

iface_eth1=»dhcp»

iface_eth1=»-t 10″

modules=( «wpa_supplicant» )

wpa_supplicant_eth2=»-Dmadwifi»

wpa_timeout_eth2=60

HEEEEEEEEEEEEEEEEEEEEEEEEEEELP!!!!!! 8O

Back to top

View user's profile Send private message

UberLord
Retired Dev
Retired Dev

Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Mon Apr 25, 2005 6:15 am    Post subject: Reply with quote

pau wrote:

After doing

Code:
ln -s net.eth0 net.eth1

in /etc/init.d/ I brought it up with

Code:
 ifconfig eth1 up



You need baselayout-1.11.x and then link net.lo to net.eth1

Quote:

Code:
                                                                                 

  /etc/init.d/net.eth1 start                                                                                                                     

 * Caching service dependencies …                                                                                                                    [ ok ] * Bringing eth1 up …

-t: Unknown host

In my /etc/conf.d/net I have

Code:
iface_eth0=»dhcp»

dhcpcd_eth0=»-HD»

dhcpcd_eth0=»-N»

# per a connexi� wpa

iface_eth1=»dhcp»

iface_eth1=»-t 10″

modules=( «wpa_supplicant» )

wpa_supplicant_eth2=»-Dmadwifi»

wpa_timeout_eth2=60

HEEEEEEEEEEEEEEEEEEEEEEEEEEELP!!!!!! 8O

Oh that’s an easy one.

You’ve specified iface_eth1 twice, and the last once overwrites all the overs. You’ve done the same for dhcpcd_eth0

Lastly, when you install baselayout-1.11.11-r1 it will warn you about deprecated variables, as although iface_eth1 will work it may not in the future.

Back to top

View user's profile Send private message

Display posts from previous:   

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Asus Mini Plus как точка доступа

Знаю что не совсем по теме, но думаю именно здесь есть те кто сможет помочь.
Решил еще раз попытаться сделать из asus oplay mini+ (прошит MoS) точку доступа, сам плеер подключен к сети проводом. По аналогии с OpenWRT вломился через телнет, перевел адаптер в режим мастер и на этом застопорился, essid не принимает, говорит нет прав.

Code: Select all
~ # iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     unassociated  Nickname:"<WIFI@REALTEK>"
          Mode:Master  Frequency=2.412 GHz  Access Point: 02:11:87:C0:99:FF
          Sensitivity:0/0
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

~ # iwconfig wlan0 essid t1
Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device wlan0 ; Operation not permitted.
~ # iwconfig wlan0 essid "mySSID"
Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device wlan0 ; Operation not permitted.

Стоило вернуться к режиму ad-hoc как сразу все завелось, но этот режим мне не интересен. Подозреваю что режим мастер либо не прописан в драйвере, либо где-то заблокирован. Прошу знающих подсказать нужное направление. NAT, iptables и DHCP не нужны, роутер все это обеспечит.

Alominer
 
Posts: 25
Joined: 04 May 2013, 20:00

Re: Asus Mini Plus как точка доступа

Postby FarVoice » 11 Apr 2015, 21:41

Решил отделить тему, ибо там это оффтопик.
Какая конкретно прошивка стоит? MosR7 мне увы ничего не говорит :(

User avatar
FarVoice
Администратор
 
Posts: 8573
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow
  • Website


Re: Asus Mini Plus как точка доступа

Postby Pokrass » 12 Apr 2015, 02:52

Ну и поправьте в подписи так, чтобы название соответствовало. ;)

User avatar
Pokrass
 
Posts: 3154
Joined: 18 Mar 2012, 04:18
Location: Плюк. Планета № 215 в Тентуре галактики «Кин-дза-дза» в Спирали.

Re: Asus Mini Plus как точка доступа

Postby Alominer » 12 Apr 2015, 03:51

Ну вы блин даете, круглосуточная поддержка юзеров ;)
Ладно ладно, ща поправлю привередливые вы наши)
Лучше подскажите, пациент вифи раздавать сможет?

Alominer
 
Posts: 25
Joined: 04 May 2013, 20:00

Re: Asus Mini Plus как точка доступа

Postby 123serge123 » 12 Apr 2015, 04:41

Скорее нет чем да. Не во всех драйверах wifi есть поддержка AP-режима. Для ралинков точно нужен отдельный драйвер. Для реалтеков помимо модели свистка с AP нужеи hostapd с правильным реалтековсим драйвером. И уж точно настраиваться нужно будет через командную строку.

123serge123
 
Posts: 186
Joined: 02 Oct 2010, 08:49

Re: Asus Mini Plus как точка доступа

Postby Pokrass » 12 Apr 2015, 12:50

Я б не был столь категоричен. Последние официальные прошивки (они на новом сдк) на сколько помню раздают из коробки…

User avatar
Pokrass
 
Posts: 3154
Joined: 18 Mar 2012, 04:18
Location: Плюк. Планета № 215 в Тентуре галактики «Кин-дза-дза» в Спирали.

Re: Asus Mini Plus как точка доступа

Postby Alominer » 12 Apr 2015, 13:33

123serge123 wrote:Скорее нет чем да. Не во всех драйверах wifi есть поддержка AP-режима. Для ралинков точно нужен отдельный драйвер. Для реалтеков помимо модели свистка с AP нужеи hostapd с правильным реалтековсим драйвером. И уж точно настраиваться нужно будет через командную строку.

Ну и пускай настройка будет через телнет, ничего страшного. В мини плюс адаптер wifi встроенный, из обзоров говорят что это AzureWave AW-NE139H построенный на Realtek RTL8188CE, драйвера уже в прошивке имеются. Выяснить бы почему карточка в режим точки не переводится, тут может и драйвер виноват, а может и ГУЙ вмешивается в работу модуля.
Перерыл все директории плеера по фтп, так и не нашел где у него хранятся конфиги по настройке сети.

Alominer
 
Posts: 25
Joined: 04 May 2013, 20:00

Re: Asus Mini Plus как точка доступа

Postby Virtual » 12 Apr 2015, 14:52

1. в офф прошивках не любят выкладывать конфиги по своим местам
2. часто и драйвера собраны без расширений вида режима AP
3. ну лан подымешь свисток в режиме AP а кто его обслуживать будет?
(как раз тот пресловутый демон hostapd о чем упомянул уважаемый 123serge123 )
4. лан прикинулся AP а кто будет роутить или NAT в локалку?
часто это требует пересборку ядра…. что черносписковым не светит.

марсы: HDS7 (смотрелка AMP скин vrt уже без вариантов)
HDR12 AMP (обычно сервер с RAM 256 и возможностью подключить 2 SATA диска 2T+)
XTR PRO(AMP, HTTP(S) NFS SMB FTP сервер +trans2.90 + 2 SATA диска 2T+
сатурны: XTR Prodigy, R6S(512Mb_NAND), HD900A(_MD*) прошивка

User avatar
Virtual
 
Posts: 6801
Joined: 01 Oct 2010, 17:17
Location: RU

Re: Asus Mini Plus как точка доступа

Postby Alominer » 12 Apr 2015, 16:50

Virtual
1. Но ведь где-то же оно должно храниться. Ладно настойки сети, я банально не смог найти где лежит список избранного и изменив IP локальной файлопомойки пришлось по новой все вбивать ручками.
2. К РАлинкам как-то драйвер прикрутили, реалтековский драйвер с поддержкой AP должен стать как родной, раз половинка этого драйвера идет из коробки. Может есть смысл сделать подмену драйвера, вот только полноценный драйвер под наши коробки хз где искать.
3. А вот это действительно проблема, как-то не подумал (((
4. В локалку адресная трансляция не нужна, главное чтобы клиенты по wifi получали IP адреса из той же подсети что и роутер, а роутер своим DHCP сервером это обеспечит. Я такое уже на работе проделывал, роутер получает интернет через wifi и отдает его по проводу в LAN, на другом конце провода второй ADSL-роутер, у которого NAT только на телефонную линию подвязан, но т.к. по умолчанию lan и wlan на одном логическом интерфейсе сидят все заработало. Вторая точка по сути мост от беспроводных клиентов к основному роутеру, который и является шлюзом для выхода в инет, вот в нем NAT и нужен.
Собственно опыт настройки сети на работе, с двумя точками доступа связанных проводом и подтолкнул меня на идею проделать тоже самое дома. Но зачем покупать еще один роутер если есть целых два миника со встроенным вайфаем и линуксом на борту которые могут увеличить покрытие беспроводной сети.

Alominer
 
Posts: 25
Joined: 04 May 2013, 20:00


Return to Tips & Tricks

Who is online

Users browsing this forum: No registered users and 1 guest

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Error code 30004 rust
  • Error for wireless request set bit rate 8b20
  • Error code 30004 enlisted
  • Error for the selected environment is no default script chunk format available
  • Error code 3 the nvidia opengl driver detected

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии