You are not logged in.
Pages: 1
Hi,
Newbie needing help with wireless please.
Running wifi-radar as root tells me I'm connected to my Netgear router's ip but it seems that doesn't mean I'm connected to the net does it? When I go unwired I'm not connected.
Here is result of iwconfig.
Using a Thinkpad T61 with the 4965 AGN card
# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:"Netgear"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Retry min limit:7 RTS thr:off Fragment thr=2346 B
Encryption key:6C61-6E61-32
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Thanks, wishing I had a bigger brain
bebop lives
Offline
try issuing a dhcp request and see if that works
Offline
Thanks cycle,Is this what you meant
# dhclient wlan0
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/wlan0/00:13:e8:21:fd:f1
Sending on LPF/wlan0/00:13:e8:21:fd:f1
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPOFFER from 192.168.0.1
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
SIOCADDRT: File exists
bound to 192.168.0.11 -- renewal in 37957 seconds.
bebop lives
Offline
well that will do
can you get to something outside your network now ?
Offline
cycle wrote "can you get to something outside your network now ?"
No, not if I remove the blue wire
Even though wifi-radar says i'm connected.
Thanks
bebop lives
Offline
hrrmm, do you have a gateway set in your rc.conf ?
something like ...
gateway="default gw 192.168.0.1"
ROUTES=(gateway)
and just to make sure, your essid and network key are right ? i just noticed something a little strange in your original post, see my iwconfig below shows link status (quality, sig level, noise level), the one you posted are all at 0.
wlan0 IEEE 802.11b ESSID:"home"
Mode:Managed Frequency:2.462 GHz Access Point: 00:02:6F:30:05:B2
Bit Rate=11 Mb/s Tx-Power:0 dBm Sensitivity=0/3
RTS thr:off Fragment thr:off
Encryption key:****-****-**[2] Security mode:restricted
Power Management:off
Link Quality:54/100 Signal level:-61 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
Last edited by cycle (2007-08-08 06:10:36)
Offline
What's the output from the "route" command?
if the "default" line shows eth0 (or whatever your wired interface was) in the Iface column, then arch
is still trying to send your packets through that interface even though you disconnected the wire.
from your output:
DHCPACK from 192.168.0.1
SIOCADDRT: File exists
That last line shows it probably tried to add an entry for the default gateway but failed because there
already is an entry for your wired connection
Try doing as root
route del default
and then rerunning dhclient for the wireless connection
Last edited by veek (2007-08-08 06:12:41)
Offline
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
I notice the exclamation point ! before gateway, should it be there? I didn't put it there.
Route before 'route del default'
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 wlan0
default www.routerlogin 0.0.0.0 UG 0 0 0 eth0
Route after 'route del default'
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 wlan0# route
Then I lost wired connection so I did dhclient wlan0 and got it back.
Still no wireless.
bebop lives
Offline
Hi,
As root (and after configuring your wireless settings), try to:
ifconfig eth0 down
ifconfig wlan0 UNUSED_IP_FROM_NETWORK --> Ex: ifconfig wlan0 192.168.0.50
route add default gw ROUTER_IP --> Ex: route add default gw 192.168.0.1
ping ROUTER_IP --> Ex: ping 192.168.0.1
If the router responds, then you are connected to your home network.
Now:
vi /etc/resolv.conf --> Add your dns to it ("nameserver DNS_IP", or if your router as a dns server: "nameserver ROUTER_IP" --> Ex: nameserver 192.168.0.1)
Now try to:
ping 64.233.183.104
ping www.google.com
Hope it helps!
Last edited by DkSoul (2007-08-08 08:29:39)
Offline
Remove the exclamation mark in front of gateway. It is there by default.
Offline
Thanks for all your help, I appreciate your time and expertise,
I did all you recommended but can still cannot get past the router with wireless.
nameserver 192.168.0.1 is in /etc/resolv.conf
I took out the ! in front of gateway in /etc/rc.conf
iwconfig now is this:
# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:"Netgear"
Mode:Managed Frequency:2.462 GHz Access Point: 00:18:4D:49:8C:20
Retry min limit:7 RTS thr:off Fragment thr=2346 B e my head
Encryption key:off
Link Quality=93/100 Signal level=-26 dBm Noise level=-127 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon: 0
I'll leave it with you guys. It's all above my head but I think we/you are close
bebop lives
Offline
I think DkSoul forgot to add that after you have followed his instructions you should do
ifconfig wifi0 up
else you card won't be switched back on.
Can you tell us your router's local/private IP?
Also I had a little trouble getting my card to connect to wireless routers, a result of ignorance, but the following works for my ipw3945:
iwconfig eth1 essid "MY_ESSID_HERE"
dhcpcd eth1
You could also try downloading and using KWirelessManager I think it's called which is supposed to be very good.
Calef13
Offline
*snip*
You could also try downloading and using KWirelessManager I think it's called which is supposed to be very good.
I'm using the iwlwifi set of drivers with the NetworkManager /knetworkmanager combo, though this is on a 3945ABG and not the 4965. Works like a charm for me.
Offline
Did all that thanks calef13.
No difference.
wlan0 IEEE 802.11g ESSID:"Netgear"
Mode:Managed Frequency:2.462 GHz Access Point: 00:18:4D:49:8C:20
Retry min limit:7 RTS thr:off Fragment thr=2346 B
Encryption key:off
Link Quality=92/100 Signal level=-22 dBm Noise level=-127 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
I've also tried KwifiManager. It scans but can't find the network.
-------------------------
mridc, how do I get the iwlwifi set of drivers? Are they very hard to install for a newbie?
Thanks
bebop lives
Offline
Well, depends. I still fail at installing the new 0.1.x ones (probably due to the way kernels are installed on Arch). the 1.0.1 drivers are available through pacman though. Just do a pacman -S iwlwifi and that should get you started.
I don't really have any experience with networkmanager in console mode (I just set up rc.conf, a network-profile and wpa_supplicant.conf to handle it until I had KDE up and running), but if you're already running KDE, it's just a matter of:
pacman -S networkmanager knetworkmanager
I'm not quite into Arch yet, so this is mostly from aimlessly toying with the rc.conf until everything worked...:
- Delete the network-profile again and the reference to it in rc.conf
- Tell rc.conf to not load the network, should look something like this
INTERFACES=(lo !eth0 !wlan0)
...
DAEMONS=( <your other daemons> !network dhcdbd networkmanager)
Make sure your user is in the network group, otherwise knetworkmanager will not connect to any network.
To make it autostart, simply do a:
ln -s /opt/share/kde/apps/knetworkmanager.desktop ~/.kde/autostart/knetworkmanager.desktop
Don't really know if this is correct, since I'm on a Windows machine at work right now. But it should all be there somewhere (hopefully )
Offline
drum,
Can you ping the router?
If not, do you have WEP/WPA/... enabled on the router? If so, have you configure it in linux?
Does your router have a MAC filter? Is it enabled? If so, did you give permission to your MAC address in the router?
Offline
Can you ping the router? yes
WEP/WPA/ not enabled on router
Does your router have a MAC filter? No
Cheers DkSoul
bebop lives
Offline
when you are connected to wireless try `ifconfig eth0 down`
Offline
mridc
I'll check pacman -S iwlwifi tomorrow--need sleep.
Make sure your user is in the network group
Yes it is.
I'm not quite into Arch yet, so this is mostly from aimlessly toying with the rc.conf until everything worked...:
- Delete the network-profile again and the reference to it in rc.conf
- Tell rc.conf to not load the network, should look something like thisINTERFACES=(lo !eth0 !wlan0)
...
DAEMONS=( <your other daemons> !network dhcdbd networkmanager)
I did this but not sure how to delete the network-profile.
BTW I'm using Gnome.
ln -s /opt/share/kde/apps/knetworkmanager.desktop ~/.kde/autostart/knetworkmanager.desktop
didn't work for me.
Cheers:)
bebop lives
Offline
If you can ping the router, try the following:
Make sure the router is the default gateway: route add default gw ROUTER_IP --> Ex: route add default gw 192.168.0.1
Trace the ping request to see where it stops: traceroute 64.233.183.104
Offline
I did this but not sure how to delete the network-profile.
If you haven't set one up, don't worry about this. I've just found it easier to reference a network profile (under /etc/network-profiles/) to manage eth0 and wlan0 connections.
BTW I'm using Gnome.
Oh, silly me. I've assumed you were on KDE. In order to get it working you'd "need" nm-applet instead of knetworkmanager. Knetworkmanager would probably work, but nm-applet is the "Gnome thing" I suppose.
From what I understand, it's important to make sure that the system doesn't fire up the network interfaces you want by itself, so the NetworkManager daemon can access them. So if you set INTERFACES=(lo !eth0 !wlan0) and DAEMONS=(... !network dhcbcd networkmanager...), you should get some results.
In Gnome, use the command "nm-applet --sm-disable" to start the NetworkManager frontend. You should have a little icon in your systray, usualy indicating that you don't have a wired connection. Right-click, choose your access point and enter your password.
Anyway, good night to you, and good luck tomorrow morning
Offline
Hi Guys,
I've had to hold off on the wireless setup because I'm getting lots of hard lockups and have to switch off every time.
I'm going to try reinstalling and start over again. Things were a lot easier on my old T30.
Thanks for all your time and expertise.
I'll come back to your posts later
Regards
drum
bebop lives
Offline
Pages: 1