Wi-Fi a Debian

Sekcia: Hardware a Drivery 22.03.2008 | 14:39
user   Návštevník
Zdravim. Kupil som si kartu : EDIMAX model: EW-7126. Mam Ubuntu 7.10. Vlozil som kartu. A ubuntu samo nahodilo drivre : ifconfig eth0 Link encap:Ethernet HWaddr 00:40:CA:8B:A6:A0
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::240:caff:fe8b:a6a0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:304 errors:0 dropped:0 overruns:0 frame:0
TX packets:410 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:27491 (26.8 KB) TX bytes:61331 (59.8 KB)
Interrupt:16 Base address:0x6000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1380 (1.3 KB) TX bytes:1380 (1.3 KB)

wlan0 Link encap:Ethernet HWaddr 00:50:FC:BD:0F:D1
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:696 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:22272 (21.7 KB)
Interrupt:18 Memory:d088a000-d088a100

lspci -v :
00:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: FIRST INTERNATIONAL Computer Inc Unknown device 925a
Flags: bus master, medium devsel, latency 32, IRQ 16
I/O ports at b000 [size=256]
Memory at ea012000 (32-bit, non-prefetchable) [size=256]
[virtual] Expansion ROM at 10000000 [disabled] [size=64K]
Capabilities: <access denied>

00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8180L 802.11b MAC (rev 20)
Subsystem: Realtek Semiconductor Co., Ltd. RTL8180L 802.11b MAC
Flags: bus master, medium devsel, latency 32, IRQ 18
I/O ports at b400 [size=256]
Memory at ea010000 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>

lsmod : ieee80211_rtl 80648 1 r8180


A ja sa chcem spytat ako to nakonfigurovat aby sa mi pripojilo na AP.
s wifi nemam skoro ziadne skusenosti. Chcem sa pripojit na AP
ssid : Vigor
wep : admin
MAC adresa : 00-50-7f-86-d5-10
. Za kazdu radu bych bol rad.
    • Re: Wi-Fi a Debian 22.03.2008 | 16:18
      user   Návštevník
      A IP adresy su 192.168.1.1 maska 255.255.255.0 je dhcp + router. A ta wifina by mala mat 192.168.1.9 a masku 255.255.255.0
    • Re: Wi-Fi a Debian 22.03.2008 | 16:56
      Avatar lime Debian 3, Red Hat 6, Fedora Core 3  Používateľ
      jednoducho

      iwconfig eth0 essid Vigor key s:admin

      ifconfig eth0 192.168.1.10 netmask 255.255.255.0 up

      route add default gw 192.168.1.1

      echo "nameserver 192.168.1.1" >/etc/resplv.conf
      Prejdite z modrej obrazovky k linuxu :))
      • Re: Wi-Fi a Debian 22.03.2008 | 17:00
        Avatar lime Debian 3, Red Hat 6, Fedora Core 3  Používateľ
        ifconfig eth0 192.168.1.9 netmask 255.255.255.0 up

        route add default gw 192.168.1.1

        #tu som urobil preklep :))

        echo "nameserver 192.168.1.1" >/etc/resolv.conf

        ##dhcp

        dhclient eth0
        Prejdite z modrej obrazovky k linuxu :))
        • Re: Wi-Fi a Debian 22.03.2008 | 17:03
          petertomasy   Návštevník
          Bol si rýchlejší , prave som to chcel napísať
          • Re: Wi-Fi a Debian 22.03.2008 | 18:29
            user   Návštevník
            Vsetko prebehlo v poriadku. Zadal som
            # route add default gw 192.168.1.1
            SIOCADDRT: File exists

            To je asi jedina chyba co mi vyhodilo. Potom pri :
            # dhclient wlan0
            Internet Systems Consortium DHCP Client V3.0.5
            Copyright 2004-2006 Internet Systems Consortium.
            All rights reserved.
            For info, please visit http://www.isc.org/sw/dhcp/

            Listening on LPF/wlan0/00:50:fc:bd:0f:d1
            Sending on LPF/wlan0/00:50:fc:bd:0f:d1
            Sending on Socket/fallback
            DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
            DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
            DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
            No DHCPOFFERS received.
            No working leases in persistent database - sleeping.

            A pri iwconfig :
            c# iwconfig
            lo no wireless extensions.

            eth0 no wireless extensions.

            wlan0 802.11b ESSID:"Vigor"
            Mode:Managed Frequency:2.457 GHz Access Point: Not-Associated
            Bit Rate:11 Mb/s
            Retry:on Fragment thr:off
            Encryption key:6D61-7265-6B67-756C-6100-0000-00 Security mode:open
            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


            No stale nejde WiFi
            • Re: Wi-Fi a Debian 22.03.2008 | 18:53
              user   Návštevník
              Ju hral som sa stym a nakonec to ide. Ale ako to zapisat aby to slo aj po starte?
              Postupoval som takto ifconfig wlan0 192.168.1.9
              route add default gw 192.168.1.1
              iwconfig wlan0 essid "Vigor"
              iwconfig wlan0 mode Managed
              ifconfig wlan0 up
              Zabudol som na to
              ifconfig eth0 up :))))
              • Re: Wi-Fi a Debian 22.03.2008 | 18:58
                Avatar uid0 Debian  Používateľ
                pouzi network-manager alebo nieco podobne
                Debian. apt-get into it…
                • Re: Wi-Fi a Debian 22.03.2008 | 19:55
                  petertomasy   Návštevník
                  wicd, wifi-radar...
                  • Re: Wi-Fi a Debian 22.03.2008 | 20:06
                    user   Návštevník
                    Chalani..Tak tomu hovorim suviks karta. Bez wifi karty vsetko slo. Prvy krat som ju strcil. kernel panic. Druhy krat som to uz nakonfiguroval cez network-manager ale seklo sa pri boote..A vzdy po kazdom restarte.
                    EDIMAX-EW-7126 ide asi do srotu. heh
                    Ale inak dik moc za pomoc.
          • Re: Wi-Fi a Debian 23.03.2008 | 20:19
            Avatar lime Debian 3, Red Hat 6, Fedora Core 3  Používateľ
            Hlavne ze to chlapec poriesil a nieco sa naucil na rychlosti nezalezi :)
            Prejdite z modrej obrazovky k linuxu :))