Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
brak internetu - poradzcie
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt
View previous topic :: View next topic  
Author Message
piotriszcz
n00b
n00b


Joined: 06 Nov 2008
Posts: 11

PostPosted: Fri Nov 14, 2008 2:54 pm    Post subject: brak internetu - poradzcie Reply with quote

Witam!!
Nie moge sobie poradzic z polaczeniem WIFI.

KARTA
lspci
Code:
02:02.0 Network controller: AIRONET Wireless Communications Cisco Aironet Wireless 802.11b


KERNEL
Code:
Linux localhost 2.6.27-gentoo-r2 #4 SMP Thu Nov 13 23:30:06 GMT 2008 i686 Intel(R) Pentium(R) M processor 1600MHz GenuineIntel GNU/Linux


Sterownik skompilowany jako modul laduje sie poprawnie (airo)

IFCONFIG
Code:
eth0      Link encap:Ethernet  HWaddr 00:0D:60:36:AF:9C 
          inet addr:192.168.1.104  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20d:60ff:fe36:af9c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3726 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3073 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:4504876 (4.2 Mb)  TX bytes:347741 (339.5 Kb)

eth1      Link encap:Ethernet  HWaddr 00:02:8A:AD:B3:B9 
          inet6 addr: fe80::202:8aff:fead:b3b9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:954 dropped:0 overruns:0 frame:954
          TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:1956 (1.9 Kb)
          Interrupt:11 Base address:0x8000

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:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1008 (1008.0 b)  TX bytes:1008 (1008.0 b)

wifi0     Link encap:UNSPEC  HWaddr 00-02-8A-AD-B3-B9-38-00-00-00-00-00-00-00-00-00 
          inet addr:169.254.185.217  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:2312  Metric:1
          RX packets:0 errors:954 dropped:0 overruns:0 frame:954
          TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:1956 (1.9 Kb)
          Interrupt:11 Base address:0x8000


IWCONFIG
Code:
lo        no wireless extensions.

eth0      no wireless extensions.

sit0      no wireless extensions.

eth1      IEEE 802.11-DS  ESSID:"W" 
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:18:F8:D7:47:0C   
          Bit Rate:11 Mb/s   Tx-Power=20 dBm   Sensitivity=0/65535 
          Retry limit:16   RTS thr:off   Fragment thr:off
          Encryption key:****-****-****-****-****-****-** [4]   Security mode:open
          Power Management:off
          Link Quality=100/100  Signal level=-36 dBm  Noise level=-97 dBm
          Rx invalid nwid:24823  Rx invalid crypt:147  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:3613   Missed beacon:0

wifi0     IEEE 802.11-DS  ESSID:"W" 
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:18:F8:D7:47:0C   
          Bit Rate:11 Mb/s   Tx-Power=20 dBm   Sensitivity=0/65535 
          Retry limit:16   RTS thr:off   Fragment thr:off
          Encryption key:****-****-****-****-****-****-** [4]   Security mode:open
          Power Management:off
          Link Quality=100/100  Signal level=-36 dBm  Noise level=-97 dBm
          Rx invalid nwid:24823  Rx invalid crypt:147  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:3613   Missed beacon:0


dmesg | grep airo

Code:
[   14.393553] airo(): Probing for PCI adapters
[   14.393621] airo 0000:02:02.0: PCI INT A -> Link[LNKC] -> GSI 11 (level, low) -> IRQ 11
[   14.393640] airo(): Found an MPI350 card
[   15.333467] airo(): WPA is supported.
[   15.337069] airo(eth1): MAC enabled 00:02:8a:ad:b3:b9
[   15.337637] airo(): Finished probing for PCI adapters
[   63.632749] airo(eth1): Bad MAC enable reason=df33, rid=3, offset=0


Problem polega na tym ze system wykrywa karte, laczy sie ale siec nie dziala. DHCPCD uzyskuje jakis niepoprawny adres IP chyba.

Code:
dhcpcd eth1
eth1: dhcpcd 4.0.4 starting
eth1: broadcasting for a lease
eth1: timed out
eth1: trying to use old lease in `/var/lib/dhcpcd/dhcpcd-eth1.lease'
eth1: checking 169.254.173.242 is available on attached networks
eth1: using IPv4LL address 169.254.173.242



jeszcze moj plik net
Code:
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
modules=("ifconfig")
modules_eth0=("dhcpcd")
config_eth0=("dhcp")
essid_eth1="W"
key_W="tutaj moj klucz"
modules=("iwconfig")


Prosze poradzcie cos, nie mam juz pomyslow!!
Dzieki

--- Edytowane przez moderatora:
Dodane znaczniki BBCode.
Kurt Steiner
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Fri Nov 14, 2008 2:56 pm    Post subject: Reply with quote

Idz na łatwizne, mergnij wicd i go używaj.
Back to top
View user's profile Send private message
piotriszcz
n00b
n00b


Joined: 06 Nov 2008
Posts: 11

PostPosted: Fri Nov 14, 2008 3:10 pm    Post subject: Reply with quote

Ale z wicd jest to samo. Laczy sie jest zasieg 85% , wszystko ok . Ale sieci nie ma. Tego wlasnie nie rozumiem.
Back to top
View user's profile Send private message
sq2lyk
n00b
n00b


Joined: 27 May 2008
Posts: 17
Location: Gdańsk, Poland

PostPosted: Sat Nov 15, 2008 8:10 pm    Post subject: Reply with quote

Podaj wiecej info o twojej sieci. Jaki router (model, adres), szyfrowanie jakie itp.

Ten adres 169.254.185.217, co sobie go przydziela, to jest jakis IP4ALL, ktory jest zawsze przydzielany jak nie pobierze zadnego przez dhcp. Sprobuj ustawic staly adres, zeby tylko nalezal do tej samej sieci co router i daj znac.
Back to top
View user's profile Send private message
piotriszcz
n00b
n00b


Joined: 06 Nov 2008
Posts: 11

PostPosted: Sun Nov 16, 2008 12:12 pm    Post subject: Reply with quote

Router to Linksys WRT54G. Adres 192.168.1.1 Szyfrowanie WEP.
Jezeli podpinam kabel dhcp dostaje adres 192.168.1.104. Po odłaczeniu kabla, wpisujac ten adres jako statyczny dla wifi uzyskuje go ale sieci nie ma. Ping samego routera nie odpowiada. Pinguje tylko moj adres i tyle.
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Sun Nov 16, 2008 12:52 pm    Post subject: Reply with quote

Wylacz wepa i sprawdz wtedy, jak zadziala to wtedy sie pomysli.
Back to top
View user's profile Send private message
piotriszcz
n00b
n00b


Joined: 06 Nov 2008
Posts: 11

PostPosted: Sun Nov 16, 2008 1:38 pm    Post subject: Reply with quote

Po wylaczeniu WEP , nic sie nie zmienilo. Probowalem sie podpiac do innej sieci niezabezpieczonej z innym routerem i tak samo nie uzyskuje adresu ip. Dodam ze ze skanowaniem sieci nie ma problemu. Kismet wylapuje wszystkie w moim zasiegu.
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Sun Nov 16, 2008 2:10 pm    Post subject: Reply with quote

Code:
test -f /var/run/dhcpcd-wlan0.pid && kill -9 `cat /var/run/dhcpcd-wlan0.pid`
ifconfig wlan0 up
iwconfig wlan0 essid TwójSSID
dhcpcd wlan0


Sprawdz czy tak się połączysz.
Back to top
View user's profile Send private message
sq2lyk
n00b
n00b


Joined: 27 May 2008
Posts: 17
Location: Gdańsk, Poland

PostPosted: Sun Nov 16, 2008 2:25 pm    Post subject: Reply with quote

Uzywales juz tej karty do laczenia sie z ta siecia?
Moze masz wlaczone blokowanie/filtrowanie MAC-ow?
Albo masz ustawiona opcje(jezeli taka jest) 802.11g only? Jezeli tak to zmien na 802.11b/g (mixed) czy cos takiego.
Back to top
View user's profile Send private message
piotriszcz
n00b
n00b


Joined: 06 Nov 2008
Posts: 11

PostPosted: Sun Nov 16, 2008 2:31 pm    Post subject: Reply with quote

To nic nie zmienia. Dalej dostaje IPv4LL

Code:
localhost maro # ifconfig eth1 up
localhost maro # iwconfig eth1 essid W
localhost maro # dhcpcd eth1
eth1: dhcpcd 4.0.4 starting
eth1: broadcasting for a lease
eth1: timed out
eth1: trying to use old lease in `/var/lib/dhcpcd/dhcpcd-eth1.lease'
eth1: checking 169.254.173.242 is available on attached networks
eth1: using IPv4LL address 169.254.173.242


--- Edytowane przez moderatora:
Dodane znaczniki BBCode.
Kurt Steiner
Back to top
View user's profile Send private message
piotriszcz
n00b
n00b


Joined: 06 Nov 2008
Posts: 11

PostPosted: Sun Nov 16, 2008 2:32 pm    Post subject: Reply with quote

Karta hula pod Windowsem XP bez porblemu.
Back to top
View user's profile Send private message
sq2lyk
n00b
n00b


Joined: 27 May 2008
Posts: 17
Location: Gdańsk, Poland

PostPosted: Sun Nov 16, 2008 2:53 pm    Post subject: Reply with quote

Czyli opcja blokowania MAC i zlego trybu odpada...
Jak ustawiales staly IP to jaka maske dawales?
Sprobuj to:
Code:
localhost maro # ifconfig eth1 up
localhost maro # ifconfig eth1 192.168.1.104 netmask 255.255.255.0
localhost maro # iwconfig eth1 essid W
Back to top
View user's profile Send private message
piotriszcz
n00b
n00b


Joined: 06 Nov 2008
Posts: 11

PostPosted: Sun Nov 16, 2008 3:16 pm    Post subject: Reply with quote

Tak wpisywalem, niby wszystko ok.
Code:
eth1    Link encap:Ethernet  HWaddr 00:02:8A:AD:B3:B9 
          inet addr:192.168.1.104  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::202:8aff:fead:b3b9/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:11201 dropped:0 overruns:0 frame:11201
          TX packets:176 errors:79 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5984926 (5.7 Mb)  TX bytes:38914 (38.0 Kb)
          Interrupt:11 Base address:0x8000



Netu brak

Code:
localhost / # ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.104 icmp_seq=2 Destination Host Unreachable
From 192.168.1.104 icmp_seq=3 Destination Host Unreachable
From 192.168.1.104 icmp_seq=4 Destination Host Unreachable
--- 192.168.1.1 ping statistics ---
4 packets transmitted, 0 r


--- Edytowane przez moderatora:
Dodane znaczniki BBCode.
Kurt Steiner
Back to top
View user's profile Send private message
sq2lyk
n00b
n00b


Joined: 27 May 2008
Posts: 17
Location: Gdańsk, Poland

PostPosted: Sun Nov 16, 2008 3:22 pm    Post subject: Reply with quote

Dodaj do powyzszych polecen:
Code:
localhost maro # route add default gw 192.168.1.1
Back to top
View user's profile Send private message
piotriszcz
n00b
n00b


Joined: 06 Nov 2008
Posts: 11

PostPosted: Sun Nov 16, 2008 3:27 pm    Post subject: Reply with quote

Niestety jest jak bylo.
Back to top
View user's profile Send private message
sq2lyk
n00b
n00b


Joined: 27 May 2008
Posts: 17
Location: Gdańsk, Poland

PostPosted: Sun Nov 16, 2008 3:29 pm    Post subject: Reply with quote

Czy pod WinXP wszystko miales ustawione na auto? Czy noze cos recznie trzeba bylo wprowadzac?
Back to top
View user's profile Send private message
piotriszcz
n00b
n00b


Joined: 06 Nov 2008
Posts: 11

PostPosted: Sun Nov 16, 2008 3:30 pm    Post subject: Reply with quote

Wszystko auto.
Back to top
View user's profile Send private message
sq2lyk
n00b
n00b


Joined: 27 May 2008
Posts: 17
Location: Gdańsk, Poland

PostPosted: Sun Nov 16, 2008 3:47 pm    Post subject: Reply with quote

Pokaz:
Code:
ipconfig /all

spod windy. Moze cos pomoze...
Back to top
View user's profile Send private message
mistix
Apprentice
Apprentice


Joined: 27 Dec 2006
Posts: 247
Location: Gliwice / Poland

PostPosted: Sun Nov 16, 2008 6:04 pm    Post subject: Reply with quote

Jak rozumiem kolega łączy się do sieci które jest szyfrowana wep'em. To należy zrobić tak, zainstalować wpa_supplicant zrobić pliczek np siec, a w nim
Code:
network={
   ssid="nazwa_sieci"
   key_mgmt=NONE
   bssid=mac_apka
   wep_key0="haselko"
}
nastepnie,
Code:
wpa_supplicant -Dwext -iethX -c/sciezka/do/tego/pliku/siec
zamiast tego X wstawić odpowiednie zakończenie. A na samym końcu dhcpd ethx. A jak by to nie pomogło to zrobić tak
Code:
iwconfig ethX key klucz_wep
a później dhcpcd ethx.
_________________
Cuda się zdarzają. Co potwierdzi każdy programista.
Back to top
View user's profile Send private message
sq2lyk
n00b
n00b


Joined: 27 May 2008
Posts: 17
Location: Gdańsk, Poland

PostPosted: Sun Nov 16, 2008 6:51 pm    Post subject: Reply with quote

Przypomnialo mi sie jeszcze jedno rozwiazanie. Sprobuj wylaczyc interfejs kablowy a potem reszta tzn:
Code:
ifconfig eth0 down
ifconfig eth1 up
iwconfig eth1 essid W
dhcpcd eth1


Sprobuj jezeli to co napisal kolega wyzej nie zadziala :p
Back to top
View user's profile Send private message
piotriszcz
n00b
n00b


Joined: 06 Nov 2008
Posts: 11

PostPosted: Mon Nov 17, 2008 2:46 pm    Post subject: Reply with quote

Sprawdzalem te opcje ale dalej nie moze uzyskac poprawnego adresu IP. Nie wiem moze jest jakis bug sterownika. Bezradnosc!!!!
Back to top
View user's profile Send private message
Kurt Steiner
Bodhisattva
Bodhisattva


Joined: 01 Apr 2005
Posts: 1050
Location: Ostroleka, Polska

PostPosted: Mon Nov 17, 2008 3:52 pm    Post subject: Reply with quote

piotriszcz, używaj BBCode - poprawi to czytelność Twoich postów.
_________________
Proszę, pamiętaj o regulaminie, a jeśli zauważysz, że został on złamany, zgłoś to. :)

LRU:431698
Back to top
View user's profile Send private message
piotriszcz
n00b
n00b


Joined: 06 Nov 2008
Posts: 11

PostPosted: Sat Nov 22, 2008 2:55 am    Post subject: Reply with quote

Ktoś ma jeszcze jakiś pomysł??
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt All times are GMT
Page 1 of 1

 
Jump to:  
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