Moderator: Moderators
ifconfig
iwconfig
ping www.google.com
the official Linux Wireless wiki wrote:About iw
iw is a new nl80211 based CLI configuration utility for wireless devices. It supports almost all new drivers that have been added to the kernel recently.
iw is still under development. Features are added 'as we go'. The only documentation that exists for iw is this page. Please help expand it.
There is a page listing use cases with iwconfig and iw: replacing iwconfig.
# iw reg set CRthe official Linux Wireless wiki wrote:Letting the kernel call CRDA
We use userspace events (uevents) to let the kernel speak to userspace. Below is an example udev rule you can place into your distribution's udev rules directory (usually /etc/udev/rules.d/). Note that most distributions have udev configured with inotify on the udev rules directory, so there is no need to restart udev after adding the new rule.
# Example file, should be put in /etc/udev/rules.d/regulatory.rules
KERNEL=="regulatory*", ACTION=="change", SUBSYSTEM=="platform", RUN+="/sbin/crda"
Hi, which network manager are you using?
NetworkManager, wicd, connman, or anything else?
Are you in a KDE4 environment, Gnome or anything?
Try to check the output of these commands:
(as root)
Código: Seleccionar todo
ifconfig
iwconfig
ifconfig
eth0 Link encap:Ethernet HWaddr 00:23:5a:5f:79:da
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:22
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:362 errors:0 dropped:0 overruns:0 frame:0
TX packets:362 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:32845 (32.0 KiB) TX bytes:32845 (32.0 KiB)
wlan0 Link encap:Ethernet HWaddr 00:24:2b:d3:c7:50
inet addr:192.168.15.105 Bcast:192.168.15.255 Mask:255.255.255.0
inet6 addr: fe80::224:2bff:fed3:c750/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:89700 errors:0 dropped:0 overruns:0 frame:0
TX packets:69962 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:125735953 (119.9 MiB) TX bytes:7095871 (6.7 MiB)
wlan4 Link encap:Ethernet HWaddr 00:e0:0c:e0:a3:29
inet addr:192.168.15.104 Bcast:192.168.15.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:cff:fee0:a329/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:110 errors:0 dropped:0 overruns:0 frame:0
TX packets:926 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:75583 (73.8 KiB) TX bytes:147684 (144.2 KiB)
iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:"yukieltemerario"
Mode:Managed Frequency:2.462 GHz Access Point: 00:1D:7E:FF:C3:DA
Bit Rate=1 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:D055-792C-FC
Power Management:off
Link Quality=38/70 Signal level=-72 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:14 Invalid misc:3075 Missed beacon:0
wlan4 IEEE 802.11bg ESSID:"yukieltemerario"
Mode:Managed Frequency:2.462 GHz Access Point: 00:1D:7E:FF:C3:DA
Bit Rate=54 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:D055-792C-FC
Power Management:off
Link Quality=59/70 Signal level=-51 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:15 Missed beacon:0
You could also try the good old ping command to check if the connection is, at least, up and running:
Código: Seleccionar todo
ping http://www.google.com
yuki@OstiaPuta ~ $ ping www.google.com
ping: unknown host www.google.com
Did you know there is a new package called iw that supersedes iwconfig?
Maybe your WiFi regulatory domain needs to be set correctly
maybe you already have the iw and crda packages installed if you are using Entropy
iw reg set ES$ cat /usr/src/linux/.config | grep 8187
CONFIG_RTL8187=m
CONFIG_RTL8187_LEDS=y
CONFIG_R8187SE=mlsmod | grep rtl8187modprobe rtl8187rmmod -f ath5kdmesg | grep rtl8187
[ 17.892852] rtl8187: Customer ID is 0x00
[ 17.892905] Registered led device: rtl8187-phy1::radio
[ 17.892946] Registered led device: rtl8187-phy1::tx
[ 17.893022] Registered led device: rtl8187-phy1::rx
[ 17.893587] rtl8187: wireless switch is on
[ 17.893643] usbcore: registered new interface driver rtl8187
vladder wrote:Only I had to do "modprobe rtl8187 force_card = 0x8187" ...
# ifconfig wlan0 down# /etc/init.d/net.wlan0 stop
# /etc/init.d/net.wlan4 restart# dhclient wlan4# iwlist scanvladder wrote:understand that it should work perfectly, so I did not add the module to the boot sequence
Return to Networking and Wireless
Users browsing this forum: No registered users and 2 guests