Portál AbcLinuxu, 10. května 2025 05:32

Dotaz: nedaří se připojit přes wifi router

26.2.2007 20:30 Martin Procházka
nedaří se připojit přes wifi router
Přečteno: 694×
Odpovědět | Admin
Zdravím.

Koupil jsem si wifi router se čtyřmi RJ-45 porty (Belkin Ethernet Wi-Fi Wireless Cable/DSL Gateway Router 54g) a mám problém rozchodit síť přes wifi. Četl jsem sekci networking v Handbooku a nějaký howto, ale po připojení k bezdrátové síti nevím co dál dělat. Zkusil jsem něco v souboru /etc/conf.d/net.

less /etc/conf.d/net:
modules=("wpa_supplicant")

wpa_supplicant_eth1="-Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf"
wpa_timeout_eth1=60
config_eth1=("192.168.1.10 netmask 255.255.255.0")
routes_eth1=("default gw 192.168.1.254")

config_eth0=("192.168.1.11 netmask 255.255.255.0")
routes_eth0=("default gw 192.168.1.254")
less /etc/wpa_supplicant/wpa_supplicant.conf:
# This is a network block that connects to any unsecured access point.
# We give it a low priority so any defined blocks are preferred.
network={
        key_mgmt=NONE
        priority=-9999999
}

network={
        ssid="iridden"
        psk="..."
        priority=0
}
iwconfig eth1:
eth1      IEEE 802.11g  ESSID:"iridden"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:17:3F:7E:B8:2E   
          Bit Rate:54 Mb/s   Tx-Power=20 dBm   Sensitivity=8/0  
          Retry limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=91/100  Signal level=-34 dBm  Noise level=-87 dBm
          Rx invalid nwid:0  Rx invalid crypt:30  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
ifconfig eth1:
eth1      Zapouzdření:Ethernet  HWadr 00:16:6F:98:02:7F  
          inet6-adr: fe80::216:6fff:fe98:27f/64 Rozsah:Linka
          AKTIVOVÁNO VŠESMĚROVÉ_VYSÍLÁNÍ MULTICAST  MTU:1500  Metrika:1
          RX packets:10 errors:60 dropped:60 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          kolizí:0 délka odchozí fronty:1000 
          RX bytes:31914 (31.1 Kb)  TX bytes:8932 (8.7 Kb)
          Přerušení:20 Vstupně/Výstupní port:0x4000 Paměť:ffcfe000-ffcfefff 
route:
Směrovací tabulka v jádru pro IP
Adresát         Brána           Maska           Přízn Metrik Odkaz  Užt Rozhraní
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
192.168.1.0     *               255.255.255.0   U     0      0        0 eth1
loopback        *               255.0.0.0       U     0      0        0 lo
default         192.168.1.254   0.0.0.0         UG    0      0        0 eth0
default         192.168.1.254   0.0.0.0         UG    2000   0        0 eth1
je to notebook Fujitsu-Siemens Amilo M1450G lspci:
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 04)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
01:03.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
01:0a.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
01:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

26.2.2007 20:39 zabza | skóre: 52 | blog: Nad_sklenkou_cerveneho
Rozbalit Rozbalit vše Re: nedaří se připojit přes wifi router
Odpovědět | | Sbalit | Link | Blokovat | Admin
Adresát         Brána           Maska           Přízn Metrik Odkaz  Užt Rozhraní
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
192.168.1.0     *               255.255.255.0   U     0      0        0 eth1
loopback        *               255.0.0.0       U     0      0        0 lo
default         192.168.1.254   0.0.0.0         UG    0      0        0 eth0
default         192.168.1.254   0.0.0.0         UG    2000   0        0 eth1
Dve defaultni gatewaye? Dve rozhrani ve stejne podsiti? Hm... Co to na nas zkousite? To nebude fungovat ;-)

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.