Witam
Mam problem z polaczeniem.
Robie tak:
iwconfig eth0 essid ap rate mode key(wszystko po kolei).
ifconfig eth0 up
dhcpcd eth0
czekam, czekam i nic.
Czemu sie nie laczy? Co robie zle?
A tutaj pliki konfiguracyjne:
Kod:
dmesg
bcm43xx: PHY connected
bcm43xx: Radio turned on
bcm43xx: Chip initialized
bcm43xx: DMA initialized
bcm43xx: 80211 cores initialized
bcm43xx: Keys cleared
SoftMAC: Open Authentication completed with 00:11:50:fb:6d:c0
bcm43xx: Radio turned off
bcm43xx: DMA 0x0200 (RX) max used slots: 1/64
bcm43xx: DMA 0x0260 (TX) max used slots: 0/512
bcm43xx: DMA 0x0240 (TX) max used slots: 0/512
bcm43xx: DMA 0x0220 (TX) max used slots: 2/512
bcm43xx: DMA 0x0200 (TX) max used slots: 0/512
bcm43xx: set security called
bcm43xx: .active_key = 0
bcm43xx: .level = 1
bcm43xx: .enabled = 1
bcm43xx: .encrypt = 1
bcm43xx: PHY connected
bcm43xx: Radio turned on
bcm43xx: Chip initialized
bcm43xx: DMA initialized
bcm43xx: 80211 cores initialized
bcm43xx: Keys cleared
SoftMAC: Open Authentication completed with 00:11:50:fb:6d:c0
SoftMAC: Open Authentication completed with 00:11:50:fb:6d:c0
SoftMAC: Open Authentication completed with 00:11:50:fb:6d:c0
SoftMAC: Open Authentication completed with 00:11:50:fb:6d:c0
SoftMAC: Open Authentication completed with 00:11:50:fb:6d:c0
SoftMAC: Open Authentication completed with 00:11:50:fb:6d:c0
SoftMAC: Open Authentication completed with 00:11:50:fb:6d:c0
SoftMAC: Open Authentication completed with 00:11:50:fb:6d:c0
SoftMAC: Open Authentication completed with 00:11:50:fb:6d:c0
SoftMAC: Open Authentication completed with 00:11:50:fb:6d:c0
SoftMAC: Open Authentication completed with 00:11:50:fb:6d:c0
SoftMAC: Open Authentication completed with 00:11:50:fb:6d:c0
SoftMAC: Open Authentication completed with 00:11:50:fb:6d:c0
root@darkstar:~# ping
www.wp.plping: unknown host
www.wp.plKod:
root@darkstar:~# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:12:17:BD:81:EC
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:115143 overruns:0 frame:0
TX packets:465 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:22304 (21.7 Kb)
Interrupt:17 Base address:0xc000
Kod:
root@darkstar:~# ip addr
1: lo:
mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
2: eth0: mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:12:17:bd:81:ec brd ff:ff:ff:ff:ff:ff
3: irlan0: mtu 1500 qdisc noop qlen 4
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
Kod:
root@darkstar:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Kod:
root@darkstar:~# iwconfig
lo no wireless extensions.
eth0 IEEE 802.11b/g ESSID:"buchta" Nickname:"darkstar"
Mode:Managed Frequency=2.462 GHz Access Point: 00:11:50:FB:6D:C0
Bit Rate=11 Mb/s Tx-Power=15 dBm
RTS thr:off Fragment thr:off
Encryption key:dobre_haslo Security mode:open
Link Quality=100/100 Signal level=2/3 Noise level=190/100
Rx invalid nwid:0 Rx invalid crypt:97510 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
irlan0 no wireless extensions.
Kod:
# /etc/rc.d/rc.inet1.conf
## This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").
# You can configure network interfaces other than eth0,eth1... by setting
# IFNAME[interface] to the interface's name. If IFNAME[interface] is unset
# or empty, it is assumed you're configuring eth.
# Several other parameters are available, the end of this file contains a
# comprehensive set of examples.# =============================================================================
# Config information for eth0:
#IPADDR[0]=""
#NETMASK[0]=""
USE_DHCP[0]="yes"
#DHCP_HOSTNAME[0]=""
# Default gateway IP address:
#GATEWAY=""
Kod:
case "$HWADDR" in
## NOTE : Comment out the following five lines to activate the samples below ...
## --------- START SECTION TO REMOVE -----------
## Pick up any Access Point, should work on most 802.11 cards
*)
INFO="buchta"
ESSID="buchta"
;;
## ---------- END SECTION TO REMOVE ------------
# Here are a few examples with a few Wireless LANs supported...
# The matching is done on the first 3 bytes of the MAC address
# SMC2835W EZ Connect g 2.4GHz 54 Mbps Wireless Cardbus Adapter 00:04:E2:*)
INFO="SMC2835W EZ Connect g 2.4GHz 54 Mbps Wireless Cardbus Adapter"
# ESSID (extended network name) : My Network, any
ESSID="buchta"
# NWID/Domain (cell identifier) : 89AB, 100, off
NWID=""
# Operation mode : Ad-Hoc, Managed, Master, Repeater, Secondary, auto
MODE="Managed"
# Frequency or channel : 1, 2, 3 (channel) ; 2.422G, 2.46G (frequency)
FREQ=""
CHANNEL="auto"
# Sensitivity (cell size + roaming speed) : 1, 2, 3 ; -70 (dBm)
SENS=""
# Bit rate : auto, 1M, 11M,54M
RATE="auto"
# Encryption key : 4567-89AB-CD, s:password
# Example for 40-bit encryption:
KEY="dobre haslo"
# Example for 104-bit encryption (aka 128-bit WEP):
#KEY="d5ad2f05abd048ecf10b1c80c7"
#RTS threshold : off, 500
RTS=""
# Fragmentation threshold : off, 1000
FRAG=""
# Other iwconfig parameters : power off, ap 01:23:45:67:89:AB
IWCONFIG=""
# iwspy parameters : + 01:23:45:67:89:AB
IWSPY=""
# iwpriv parameters : set_port 2, set_histo 50 60
IWPRIV=""
Kod:
root@darkstar:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
loopback * 255.0.0.0 U 0 0 0 lo