Well I tried restarting, then ethereal for eth1 and it gives this output
"Warning: Couldn't obtain netmask info( eth1: no IPv4 address assigned)
Capturing on eth1
0.000000 f80::213:ceff:fe0a:aea9 -> ff02::2 ICMPv6 Router solicitation
0.632054 0.0.0.0 -> 255.255.255.255 DHCP DHCP Discover - Transction ID 0xa519aa60
and waits a little bit and prints again
4.776602 0.0.0.0 -> 255.255.255.255 DHCP DHCP Discover - Transction ID 0xa519aa60
...
and it goes on like this and in the end I close it.
iwlist wlan0 scan Result is "wlan0 Interface doesn't support scanning." but when I try iwlist eth1 scan Result is
eth1 Scan completed :
Cell 01 -Addrss: 00:08:A1:8C:F2:24
ESSID:"Mehmet"
Mode:Master
Channel:10
Encryption key:0n
Bit rate:54 Mb/s
Extra: Rates(Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54
Quality=65/100 Signal level =-61 dBm
Extra:Last beacn: 172ms ago
Output of iwconfig
lo no wireless extensions.
sit0 no wireless extensions.
eth0 no wireless extensions.
eth1 IEEE 802.11g ESSID:"Mehmet"
Mode:Managed Frequency:2.457 GHz Access Point: 00:08:A1:8C:F2:24
Bit Rate=54 Mb/s Tx-Power=20 dBm
Retry limit:7 RTS thr
ff Fragment thr
ff
Encryption key:6375-6275-6B Security mode
pen
Power Management
ff
Link Quality=99/100 Signal level=-22 dBm Noise level=-86 dBm
Rx invalid nwid:0 Rx invalid crypt:232 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:74 Missed beacon:0