You are not logged in.
Hi guys out there. Been using Arch since a few years ago, but now i got a problem with my new wireless nic. I can not get it to work under linux. Works in win xp.
I try to connect to a wireless router linksys WRT54GL (open without dhcp).
when i ping my gateway ip it says destination host unreachable.
uses ndiswrapper for my wlan nic which is a dlink G510 rev c something.
ndiswrapper -l says:
netrt61g : driver installed
device (1814:0302) present
Here comes my file "cat"s:
[root@zealous dio]# ifconfig
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:64 errors:0 dropped:0 overruns:0 frame:0
TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5859 (5.7 Kb) TX bytes:5859 (5.7 Kb)
wlan0 Link encap:Ethernet HWaddr 00:15:E9:F8:A0:CF
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::215:e9ff:fef8:a0cf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15 errors:0 dropped:0 overruns:0 frame:0
TX packets:114 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1407 (1.3 Kb) TX bytes:5652 (5.5 Kb)
Interrupt:16 Memory:ff9f8000-ffa00000
[root@zealous dio]#
[root@zealous dio]# iwconfig
lo no wireless extensions.
wlan0 IEEE 802.11g ESSID:"linksys"
Mode:Managed Frequency:2.462 GHz Access Point: 00:16:B6:D9:78:63
Bit Rate=36 Mb/s Tx-Power:20 dBm Sensitivity=-121 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:off
Power Management:off
Link Quality:46/100 Signal level:-66 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
eth0 no wireless extensions.
eth1 no wireless extensions.
[root@zealous dio]#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="zealous"
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
#wlan0="wlan0 192.168.1.100 netmask 255.255.255.0 broadcast 192.168.1.255"
#wlan0="dhcp"
#wlan_wlan0="wlan0 essid linksys"
#eth0="eth0 192.168.1.110 netmask 255.255.255.0 broadcast 192.168.1.255"
#eth0="dhcp"
#WLAN_INTERFACES=(wlan0)
INTERFACES=(lo !wlan0 !eth0)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
#gateway="default gw 192.168.1.1"
#ROUTES=(gateway)
#
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network-profiles
#
NET_PROFILES=(menu)
[root@zealous dio]# cat /etc/network-profiles/wlan0
#
# Network Profile
#
DESCRIPTION="Wireless Network Profile"
# Network Settings
INTERFACE=wlan0
HOSTNAME=zealous
# Interface Settings (use IFOPTS="dhcp" for DHCP)
IFOPTS="192.168.1.100 netmask 255.255.255.0 broadcast 192.168.1.255"
GATEWAY=192.168.1.1
# DNS Settings (optional)
#DOMAINNAME=zealous.se
DNS1=195.54.122.200
#DNS2=
# Wireless Settings (optional)
IWOPTS="mode managed essid linksys"
WIFI_INTERFACE=wlan0 # use this if you have a special wireless interface
# that is linked to the real $INTERFACE
#WIFI_WAIT=5 # seconds to wait for the wireless card to
# associate before bringing the interface up
#USEWPA="yes" # start wpa_supplicant with the profile
#WPAOPTS="" # use "" for normal operation or specify additional
# options (eg, "-D ipw")
# see /etc/wpa_supplicant.conf for configuration
#AUTOWPA="yes" # automatically configure WPA
#PASSKEY="detroit09" # wpa passkey/phrase. for use with AUTOWPA
[root@zealous dio]#
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0
default 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0Coaching 'The slaughters' in Hattrick
www.hattrick.org
Offline
tried to turn dhcp on in my router, works with dhcp with my eth0-card. tries the same with the wlan0-device ... fails...how come?
i can se a second network from here can that be a reason why it is not working?
[root@zealous dio]# iwlist scan
lo Interface doesn't support scanning.
wlan0 Scan completed :
Cell 01 - Address: 00:16:B6:D9:78:63
ESSID:"linksys"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:59/100 Signal level:-58 dBm Noise level:-96 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 02 - Address: 00:01:E3:47:6A:5D
ESSID:"Olausson"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:25/100 Signal level:-80 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:bcn_int=100
Extra:atim=0
eth0 Interface doesn't support scanning.
eth1 Interface doesn't support scanning.
[root@zealous dio]#
Here are my lspci:
02:02.0 Network controller: RaLink RT2561/RT61 rev B 802.11g
Coaching 'The slaughters' in Hattrick
www.hattrick.org
Offline
it looks to me the cell02 has encryption on
Encryption key:on
id suggest to try only this for network in rc.conf
INTERFACES=(lo wlan0 !eth0)
wlan0="dhcp"wlan_wlan0="wlan0 essid MyEssid"
and comment out all wireless profile stuff till you get this connected
then start playing with profiles
Offline
It could help to change channel, to something else than your neighbor uses.
Offline